#2E030D

A color in the Red, Pink family

#2e030d is a color in the Red, Pink family: RGB(46, 3, 13), HSL(346°, 88%, 10%), CMYK(0%, 93%, 72%, 82%). Closest named color: midnightblue. Contrast is 18.5:1 on white and 1.14:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2e030d
RGBrgb(46 3 13)
RGB (legacy)rgb(46, 3, 13)
RGB %rgb(18% 1% 5%)
HSLhsl(346 88% 10%)
HSV / HSBhsv(346, 93%, 18%)
HWBhwb(346 1% 82%)
CMYKcmyk(0%, 93%, 72%, 82%)
CIELAB (D50)lab(6.3 22.39 4.55)
LCHlch(6.3 22.84 11.5)
OKLaboklab(0.1981 0.0694 0.0144)
OKLCHoklch(0.1981 0.0708 11.71)
Decimal3015437

Properties

Color ToneRed, Pink
Closest named colormidnightblue ΔE 19.2
Closest web-safe color#330000
Hue346°
Saturation (HSL / HSV)88% / 93%
Lightness (HSL)10%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)7% / 5%
Relative luminance (WCAG)0.0068
Red / Green / Blue46 / 3 / 13

WCAG 2.2 Contrast Ratio

On White (#ffffff)
18.50:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.14:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 104.5 / 0 · As background with white / black text: Lc -106.7 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #2e030d;
  --color-brand-oklch: oklch(19.81% 0.0708 11.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(46 3 13 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2e030d] text-[#2e030d] border-[#2e030d]">