#2D041F#2D041F

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

Color values

HEX#2D041F
RGBrgb(45, 4, 31)
HSLhsl(320, 84%, 10%)
HSVhsv(320, 91%, 18%)
CMYKcmyk(0%, 91.1%, 31.1%, 82.4%)
CIE-LABlab(6.72, 23.85, -7.32)
CIE-LCHlch(6.72, 24.94, 342.94°)
OKLaboklab(20.53% 0.0733 -0.0198)
OKLCHoklch(20.53% 0.076 344.8)
XYZxyz(1.3730, 0.7438, 1.3673)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D041F #042D12
analogous
#27042D #2D041F #2D040B
triadic
#2D041F #1F2D04 #041F2D
tetradic
#2D041F #2D2704 #042D12 #040B2D
square
#2D041F #2D2704 #042D12 #040B2D
split-complementary
#2D041F #0B2D04 #042D27
monochromatic
#1C0213 #1C0213 #2D041F #650946 #9D0E6C

Accessibility & contrast

On white

18.28
#2D041F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D041F
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D041F#FFFFFF#000000##FFFFFF
##2D041F1.0018.281.1518.28
#FFFFFF18.281.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081020
Deuteranopia (green-blind)
#15171E
Tritanopia (blue-blind)
#310410
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2d041f;
/* rgb */ color: rgb(45, 4, 31);
/* oklch */ color: oklch(20.5% 0.076 344.8);
Tailwind
colors: {
  custom: {
    50: '#68485a',
    500: '#2d041f',
    950: '#000000',
  },
}
SCSS
$custom: #2d041f;
$custom-light: #68485a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d041f",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 31
  },
  "hsl": {
    "h": 320.488,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20528,
    "c": 0.07591,
    "h": 344.8
  },
  "luminance": 0.00744
}

Semantic roles & 50–950 ramp

primary
#2D041F
secondary
#1D7039
accent
#FA742E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2D041F

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

Preview Lab → · Contrast checker → · Palette generator →

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