#2D121A#2D121A

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

Color values

HEX#2D121A
RGBrgb(45, 18, 26)
HSLhsl(342, 43%, 12%)
HSVhsv(342, 60%, 18%)
CMYKcmyk(0%, 60%, 42.2%, 82.4%)
CIE-LABlab(9.52, 14.98, 0.71)
CIE-LCHlch(9.52, 15.00, 2.72°)
OKLaboklab(22.59% 0.0455 0.0021)
OKLCHoklch(22.59% 0.046 2.6)
XYZxyz(1.4850, 1.0652, 1.1045)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D121A #122D25
analogous
#2D1228 #2D121A #2D1812
triadic
#2D121A #1A2D12 #121A2D
tetradic
#2D121A #282D12 #122D25 #18122D
square
#2D121A #282D12 #122D25 #18122D
split-complementary
#2D121A #122D18 #12282D
monochromatic
#16090D #16090D #2D121A #592333 #84354D

Accessibility & contrast

On white

17.31
#2D121A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D121A
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D121A#FFFFFF#000000##FFFFFF
##2D121A1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16171A
Deuteranopia (green-blind)
#1D1C19
Tritanopia (blue-blind)
#311015
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d121a;
/* rgb */ color: rgb(45, 18, 26);
/* oklch */ color: oklch(22.6% 0.046 2.6);
Tailwind
colors: {
  custom: {
    50: '#675056',
    500: '#2d121a',
    950: '#000000',
  },
}
SCSS
$custom: #2d121a;
$custom-light: #675056;
$custom-dark: #000000;
JSON
{
  "hex": "#2d121a",
  "rgb": {
    "r": 45,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 342.222,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22589,
    "c": 0.04556,
    "h": 2.6
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#2D121A
secondary
#366557
accent
#D3AD55
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060203
muted
#7A7878

Preview Lab

Preview with #2D121A

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

Preview Lab → · Contrast checker → · Palette generator →

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