#2D031E#2D031E

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

Color values

HEX#2D031E
RGBrgb(45, 3, 30)
HSLhsl(321, 88%, 9%)
HSVhsv(321, 93%, 18%)
CMYKcmyk(0%, 93.3%, 33.3%, 82.4%)
CIE-LABlab(6.48, 24.19, -6.91)
CIE-LCHlch(6.48, 25.15, 344.06°)
OKLaboklab(20.31% 0.075 -0.0188)
OKLCHoklch(20.31% 0.077 345.9)
XYZxyz(1.3492, 0.7169, 1.2954)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D031E #032D12
analogous
#27032D #2D031E #2D0309
triadic
#2D031E #1E2D03 #031E2D
tetradic
#2D031E #2D2703 #032D12 #03092D
square
#2D031E #2D2703 #032D12 #03092D
split-complementary
#2D031E #092D03 #032D27
monochromatic
#1D0213 #1D0213 #2D031E #660744 #A00B6A

Accessibility & contrast

On white

18.37
#2D031E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D031E
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D031E#FFFFFF#000000##FFFFFF
##2D031E1.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08101F
Deuteranopia (green-blind)
#15171D
Tritanopia (blue-blind)
#31020F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d031e;
/* rgb */ color: rgb(45, 3, 30);
/* oklch */ color: oklch(20.3% 0.077 345.9);
Tailwind
colors: {
  custom: {
    50: '#684859',
    500: '#2d031e',
    950: '#000000',
  },
}
SCSS
$custom: #2d031e;
$custom-light: #684859;
$custom-dark: #000000;
JSON
{
  "hex": "#2d031e",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 30
  },
  "hsl": {
    "h": 321.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20311,
    "c": 0.07734,
    "h": 345.9
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

primary
#2D031E
secondary
#1B713A
accent
#FE762A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D031E

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

Preview Lab → · Contrast checker → · Palette generator →

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