#2D041A#2D041A

#2D041A is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.3% C 0.073 H 352.0°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#2D041A
RGBrgb(45, 4, 26)
HSLhsl(328, 84%, 10%)
HSVhsv(328, 91%, 18%)
CMYKcmyk(0%, 91.1%, 42.2%, 82.4%)
CIE-LABlab(6.50, 22.96, -3.74)
CIE-LCHlch(6.50, 23.27, 350.76°)
OKLaboklab(20.27% 0.0718 -0.0101)
OKLCHoklch(20.27% 0.073 352)
XYZxyz(1.3121, 0.7195, 1.0469)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D041A #042D17
analogous
#2C042D #2D041A #2D0406
triadic
#2D041A #1A2D04 #041A2D
tetradic
#2D041A #2D2C04 #042D17 #04062D
square
#2D041A #2D2C04 #042D17 #04062D
split-complementary
#2D041A #062D04 #042D2C
monochromatic
#1C0210 #1C0210 #2D041A #65093A #9D0E5B

Accessibility & contrast

On white

18.36
#2D041A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D041A
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D041A#FFFFFF#000000##FFFFFF
##2D041A1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A101B
Deuteranopia (green-blind)
#171719
Tritanopia (blue-blind)
#31020D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d041a;
/* rgb */ color: rgb(45, 4, 26);
/* oklch */ color: oklch(20.3% 0.073 352.0);
Tailwind
colors: {
  custom: {
    50: '#684856',
    500: '#2d041a',
    950: '#000000',
  },
}
SCSS
$custom: #2d041a;
$custom-light: #684856;
$custom-dark: #000000;
JSON
{
  "hex": "#2d041a",
  "rgb": {
    "r": 45,
    "g": 4,
    "b": 26
  },
  "hsl": {
    "h": 327.805,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20265,
    "c": 0.07255,
    "h": 352
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#2D041A
secondary
#1D7043
accent
#FA8C2E
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D041A

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

Preview Lab → · Contrast checker → · Palette generator →

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