#2D031D#2D031D

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

Color values

HEX#2D031D
RGBrgb(45, 3, 29)
HSLhsl(323, 88%, 9%)
HSVhsv(323, 93%, 18%)
CMYKcmyk(0%, 93.3%, 35.6%, 82.4%)
CIE-LABlab(6.43, 24.00, -6.19)
CIE-LCHlch(6.43, 24.79, 345.53°)
OKLaboklab(20.26% 0.0748 -0.0169)
OKLCHoklch(20.26% 0.077 347.3)
XYZxyz(1.3366, 0.7119, 1.2292)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D031D #032D13
analogous
#28032D #2D031D #2D0308
triadic
#2D031D #1D2D03 #031D2D
tetradic
#2D031D #2D2803 #032D13 #03082D
square
#2D031D #2D2803 #032D13 #03082D
split-complementary
#2D031D #082D03 #032D28
monochromatic
#1D0212 #1D0212 #2D031D #660742 #A00B67

Accessibility & contrast

On white

18.38
#2D031D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D031D
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D031D#FFFFFF#000000##FFFFFF
##2D031D1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080F1E
Deuteranopia (green-blind)
#15171C
Tritanopia (blue-blind)
#31020E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d031d;
/* rgb */ color: rgb(45, 3, 29);
/* oklch */ color: oklch(20.3% 0.077 347.3);
Tailwind
colors: {
  custom: {
    50: '#684858',
    500: '#2d031d',
    950: '#000000',
  },
}
SCSS
$custom: #2d031d;
$custom-light: #684858;
$custom-dark: #000000;
JSON
{
  "hex": "#2d031d",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 29
  },
  "hsl": {
    "h": 322.857,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20256,
    "c": 0.07665,
    "h": 347.3
  },
  "luminance": 0.00712
}

Semantic roles & 50–950 ramp

primary
#2D031D
secondary
#1B713C
accent
#FE7B2A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D031D

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

Preview Lab → · Contrast checker → · Palette generator →

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