#2D121C#2D121C

#2D121C is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.7% C 0.046 H 358.0°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#2D121C
RGBrgb(45, 18, 28)
HSLhsl(338, 43%, 12%)
HSVhsv(338, 60%, 18%)
CMYKcmyk(0%, 60%, 37.8%, 82.4%)
CIE-LABlab(9.60, 15.31, -0.70)
CIE-LCHlch(9.60, 15.33, 357.39°)
OKLaboklab(22.67% 0.0464 -0.0016)
OKLCHoklch(22.67% 0.046 358)
XYZxyz(1.5082, 1.0745, 1.2263)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D121C #122D23
analogous
#2D122A #2D121C #2D1612
triadic
#2D121C #1C2D12 #121C2D
tetradic
#2D121C #2A2D12 #122D23 #16122D
square
#2D121C #2A2D12 #122D23 #16122D
split-complementary
#2D121C #122D16 #122A2D
monochromatic
#16090E #16090E #2D121C #592337 #843552

Accessibility & contrast

On white

17.29
#2D121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2D121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D121C
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D121C#FFFFFF#000000##FFFFFF
##2D121C1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181C
Deuteranopia (green-blind)
#1D1D1B
Tritanopia (blue-blind)
#311016
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d121c;
/* rgb */ color: rgb(45, 18, 28);
/* oklch */ color: oklch(22.7% 0.046 358.0);
Tailwind
colors: {
  custom: {
    50: '#675057',
    500: '#2d121c',
    950: '#000000',
  },
}
SCSS
$custom: #2d121c;
$custom-light: #675057;
$custom-dark: #000000;
JSON
{
  "hex": "#2d121c",
  "rgb": {
    "r": 45,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 337.778,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22669,
    "c": 0.04646,
    "h": 358
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#2D121C
secondary
#366553
accent
#D3A455
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2D121C

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

Preview Lab → · Contrast checker → · Palette generator →

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