#2D041C#2D041C

#2D041C is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.4% C 0.074 H 349.1°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#2D041C
RGBrgb(45, 4, 28)
HSLhsl(325, 84%, 10%)
HSVhsv(325, 91%, 18%)
CMYKcmyk(0%, 91.1%, 37.8%, 82.4%)
CIE-LABlab(6.58, 23.31, -5.18)
CIE-LCHlch(6.58, 23.88, 347.47°)
OKLaboklab(20.37% 0.0725 -0.014)
OKLCHoklch(20.37% 0.074 349.1)
XYZxyz(1.3353, 0.7287, 1.1687)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D041C #042D15
analogous
#2A042D #2D041C #2D0408
triadic
#2D041C #1C2D04 #041C2D
tetradic
#2D041C #2D2A04 #042D15 #04082D
square
#2D041C #2D2A04 #042D15 #04082D
split-complementary
#2D041C #082D04 #042D2A
monochromatic
#1C0211 #1C0211 #2D041C #65093F #9D0E62

Accessibility & contrast

On white

18.33
#2D041C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D041C
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D041C#FFFFFF#000000##FFFFFF
##2D041C1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A101D
Deuteranopia (green-blind)
#16171B
Tritanopia (blue-blind)
#31030E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2d041c;
/* rgb */ color: rgb(45, 4, 28);
/* oklch */ color: oklch(20.4% 0.074 349.1);
Tailwind
colors: {
  custom: {
    50: '#684858',
    500: '#2d041c',
    950: '#000000',
  },
}
SCSS
$custom: #2d041c;
$custom-light: #684858;
$custom-dark: #000000;
JSON
{
  "hex": "#2d041c",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 28
  },
  "hsl": {
    "h": 324.878,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20366,
    "c": 0.07381,
    "h": 349.1
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#2D041C
secondary
#1D703F
accent
#FA822E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060103
muted
#7A7778

Preview Lab

Preview with #2D041C

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

Preview Lab → · Contrast checker → · Palette generator →

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