#2D040F#2D040F

#2D040F is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.8% C 0.068 H 9.1°. Best body text is #FFFFFF at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#2D040F
RGBrgb(45, 4, 15)
HSLhsl(344, 84%, 10%)
HSVhsv(344, 91%, 18%)
CMYKcmyk(0%, 91.1%, 66.7%, 82.4%)
CIE-LABlab(6.14, 21.39, 3.15)
CIE-LCHlch(6.14, 21.62, 8.39°)
OKLaboklab(19.82% 0.0672 0.0107)
OKLCHoklch(19.82% 0.068 9.1)
XYZxyz(1.2119, 0.6794, 0.5192)
Luminance0.0068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D040F #042D22
analogous
#2D0424 #2D040F #2D0D04
triadic
#2D040F #0F2D04 #040F2D
tetradic
#2D040F #242D04 #042D22 #0D042D
square
#2D040F #242D04 #042D22 #0D042D
split-complementary
#2D040F #042D0D #04242D
monochromatic
#1C0209 #1C0209 #2D040F #650922 #9D0E34

Accessibility & contrast

On white

18.49
#2D040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2D040F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D040F
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D040F#FFFFFF#000000##FFFFFF
##2D040F1.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E0F
Deuteranopia (green-blind)
#19170E
Tritanopia (blue-blind)
#320008
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d040f;
/* rgb */ color: rgb(45, 4, 15);
/* oklch */ color: oklch(19.8% 0.068 9.1);
Tailwind
colors: {
  custom: {
    50: '#69484e',
    500: '#2d040f',
    950: '#000000',
  },
}
SCSS
$custom: #2d040f;
$custom-light: #69484e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d040f",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 343.902,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19816,
    "c": 0.06806,
    "h": 9.1
  },
  "luminance": 0.00679
}

Semantic roles & 50–950 ramp

primary
#2D040F
secondary
#1D705A
accent
#FAC32E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2D040F

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

Preview Lab → · Contrast checker → · Palette generator →

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