#2D0F1F#2D0F1F

#2D0F1F is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.2% C 0.055 H 349.2°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#2D0F1F
RGBrgb(45, 15, 31)
HSLhsl(328, 50%, 12%)
HSVhsv(328, 67%, 18%)
CMYKcmyk(0%, 66.7%, 31.1%, 82.4%)
CIE-LABlab(8.98, 17.76, -3.90)
CIE-LCHlch(8.98, 18.18, 347.63°)
OKLaboklab(22.25% 0.0536 -0.0102)
OKLCHoklch(22.25% 0.055 349.2)
XYZxyz(1.5004, 0.9986, 1.4098)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0F1F #0F2D1D
analogous
#2C0F2D #2D0F1F #2D0F10
triadic
#2D0F1F #1F2D0F #0F1F2D
tetradic
#2D0F1F #2D2C0F #0F2D1D #0F102D
square
#2D0F1F #2D2C0F #0F2D1D #0F102D
split-complementary
#2D0F1F #102D0F #0F2D2C
monochromatic
#170810 #170810 #2D0F1F #5B1E3F #892E5E

Accessibility & contrast

On white

17.51
#2D0F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2D0F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0F1F
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0F1F#FFFFFF#000000##FFFFFF
##2D0F1F1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121620
Deuteranopia (green-blind)
#1A1B1E
Tritanopia (blue-blind)
#300E15
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #2d0f1f;
/* rgb */ color: rgb(45, 15, 31);
/* oklch */ color: oklch(22.2% 0.055 349.2);
Tailwind
colors: {
  custom: {
    50: '#674f5a',
    500: '#2d0f1f',
    950: '#000000',
  },
}
SCSS
$custom: #2d0f1f;
$custom-light: #674f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0f1f",
  "rgb": {
    "r": 45,
    "g": 15,
    "b": 31
  },
  "hsl": {
    "h": 328,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22247,
    "c": 0.05451,
    "h": 349.2
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#2D0F1F
secondary
#31664A
accent
#DA8F4E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2D0F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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