#2D031C#2D031C

#2D031C is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.2% C 0.076 H 348.7°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#2D031C
RGBrgb(45, 3, 28)
HSLhsl(324, 88%, 9%)
HSVhsv(324, 93%, 18%)
CMYKcmyk(0%, 93.3%, 37.8%, 82.4%)
CIE-LABlab(6.39, 23.83, -5.48)
CIE-LCHlch(6.39, 24.45, 347.06°)
OKLaboklab(20.2% 0.0745 -0.0149)
OKLCHoklch(20.2% 0.076 348.7)
XYZxyz(1.3244, 0.7070, 1.1651)
Luminance0.0071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D031C #032D14
analogous
#29032D #2D031C #2D0307
triadic
#2D031C #1C2D03 #031C2D
tetradic
#2D031C #2D2903 #032D14 #03072D
square
#2D031C #2D2903 #032D14 #03072D
split-complementary
#2D031C #072D03 #032D29
monochromatic
#1D0212 #1D0212 #2D031C #660740 #A00B63

Accessibility & contrast

On white

18.40
#2D031C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D031C
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D031C#FFFFFF#000000##FFFFFF
##2D031C1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080F1D
Deuteranopia (green-blind)
#16171B
Tritanopia (blue-blind)
#31020E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d031c;
/* rgb */ color: rgb(45, 3, 28);
/* oklch */ color: oklch(20.2% 0.076 348.7);
Tailwind
colors: {
  custom: {
    50: '#684858',
    500: '#2d031c',
    950: '#000000',
  },
}
SCSS
$custom: #2d031c;
$custom-light: #684858;
$custom-dark: #000000;
JSON
{
  "hex": "#2d031c",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 28
  },
  "hsl": {
    "h": 324.286,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20202,
    "c": 0.07598,
    "h": 348.7
  },
  "luminance": 0.00707
}

Semantic roles & 50–950 ramp

primary
#2D031C
secondary
#1B713E
accent
#FE802A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D031C

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

Preview Lab → · Contrast checker → · Palette generator →

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