#2D041E#2D041E

#2D041E is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.075 H 346.2°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#2D041E
RGBrgb(45, 4, 30)
HSLhsl(322, 84%, 10%)
HSVhsv(322, 91%, 18%)
CMYKcmyk(0%, 91.1%, 33.3%, 82.4%)
CIE-LABlab(6.67, 23.66, -6.61)
CIE-LCHlch(6.67, 24.57, 344.39°)
OKLaboklab(20.47% 0.073 -0.0179)
OKLCHoklch(20.47% 0.075 346.2)
XYZxyz(1.3600, 0.7386, 1.2990)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D041E #042D13
analogous
#28042D #2D041E #2D040A
triadic
#2D041E #1E2D04 #041E2D
tetradic
#2D041E #2D2804 #042D13 #040A2D
square
#2D041E #2D2804 #042D13 #040A2D
split-complementary
#2D041E #0A2D04 #042D28
monochromatic
#1C0213 #1C0213 #2D041E #650943 #9D0E69

Accessibility & contrast

On white

18.30
#2D041E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2D041E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D041E
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D041E#FFFFFF#000000##FFFFFF
##2D041E1.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09101F
Deuteranopia (green-blind)
#15171D
Tritanopia (blue-blind)
#31030F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2d041e;
/* rgb */ color: rgb(45, 4, 30);
/* oklch */ color: oklch(20.5% 0.075 346.2);
Tailwind
colors: {
  custom: {
    50: '#684859',
    500: '#2d041e',
    950: '#000000',
  },
}
SCSS
$custom: #2d041e;
$custom-light: #684859;
$custom-dark: #000000;
JSON
{
  "hex": "#2d041e",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 30
  },
  "hsl": {
    "h": 321.951,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20473,
    "c": 0.07518,
    "h": 346.2
  },
  "luminance": 0.00738
}

Semantic roles & 50–950 ramp

primary
#2D041E
secondary
#1D703B
accent
#FA792E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2D041E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2D041E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva