#2D031F#2D031F

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

Color values

HEX#2D031F
RGBrgb(45, 3, 31)
HSLhsl(320, 88%, 9%)
HSVhsv(320, 93%, 18%)
CMYKcmyk(0%, 93.3%, 31.1%, 82.4%)
CIE-LABlab(6.52, 24.37, -7.61)
CIE-LCHlch(6.52, 25.53, 342.65°)
OKLaboklab(20.37% 0.0752 -0.0208)
OKLCHoklch(20.37% 0.078 344.6)
XYZxyz(1.3621, 0.7221, 1.3637)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D031F #032D11
analogous
#26032D #2D031F #2D030A
triadic
#2D031F #1F2D03 #031F2D
tetradic
#2D031F #2D2603 #032D11 #030A2D
square
#2D031F #2D2603 #032D11 #030A2D
split-complementary
#2D031F #0A2D03 #032D26
monochromatic
#1D0214 #1D0214 #2D031F #660747 #A00B6E

Accessibility & contrast

On white

18.35
#2D031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D031F
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D031F#FFFFFF#000000##FFFFFF
##2D031F1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071020
Deuteranopia (green-blind)
#15171E
Tritanopia (blue-blind)
#31030F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d031f;
/* rgb */ color: rgb(45, 3, 31);
/* oklch */ color: oklch(20.4% 0.078 344.6);
Tailwind
colors: {
  custom: {
    50: '#68485a',
    500: '#2d031f',
    950: '#000000',
  },
}
SCSS
$custom: #2d031f;
$custom-light: #68485a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d031f",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 320,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20367,
    "c": 0.07806,
    "h": 344.6
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#2D031F
secondary
#1B7138
accent
#FE712A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D031F

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

Preview Lab → · Contrast checker → · Palette generator →

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