#2D031A#2D031A

#2D031A is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.1% C 0.075 H 351.5°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#2D031A
RGBrgb(45, 3, 26)
HSLhsl(327, 88%, 9%)
HSVhsv(327, 93%, 18%)
CMYKcmyk(0%, 93.3%, 42.2%, 82.4%)
CIE-LABlab(6.30, 23.48, -4.02)
CIE-LCHlch(6.30, 23.82, 350.27°)
OKLaboklab(20.1% 0.0739 -0.011)
OKLCHoklch(20.1% 0.075 351.5)
XYZxyz(1.3013, 0.6978, 1.0432)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D031A #032D16
analogous
#2B032D #2D031A #2D0305
triadic
#2D031A #1A2D03 #031A2D
tetradic
#2D031A #2D2B03 #032D16 #03052D
square
#2D031A #2D2B03 #032D16 #03052D
split-complementary
#2D031A #052D03 #032D2B
monochromatic
#1D0211 #1D0211 #2D031A #66073B #A00B5C

Accessibility & contrast

On white

18.43
#2D031A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D031A
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D031A#FFFFFF#000000##FFFFFF
##2D031A1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090F1B
Deuteranopia (green-blind)
#161719
Tritanopia (blue-blind)
#31010D
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2d031a;
/* rgb */ color: rgb(45, 3, 26);
/* oklch */ color: oklch(20.1% 0.075 351.5);
Tailwind
colors: {
  custom: {
    50: '#684856',
    500: '#2d031a',
    950: '#000000',
  },
}
SCSS
$custom: #2d031a;
$custom-light: #684856;
$custom-dark: #000000;
JSON
{
  "hex": "#2d031a",
  "rgb": {
    "r": 45,
    "g": 3,
    "b": 26
  },
  "hsl": {
    "h": 327.143,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.20099,
    "c": 0.07472,
    "h": 351.5
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#2D031A
secondary
#1B7142
accent
#FE8A2A
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#060003
muted
#7A7778

Preview Lab

Preview with #2D031A

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

Preview Lab → · Contrast checker → · Palette generator →

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