#2D1223#2D1223

#2D1223 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 23.0% C 0.051 H 343.4°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2D1223
RGBrgb(45, 18, 35)
HSLhsl(322, 43%, 12%)
HSVhsv(322, 60%, 18%)
CMYKcmyk(0%, 60%, 22.2%, 82.4%)
CIE-LABlab(9.89, 16.59, -5.54)
CIE-LCHlch(9.89, 17.49, 341.53°)
OKLaboklab(22.99% 0.0493 -0.0147)
OKLCHoklch(22.99% 0.051 343.4)
XYZxyz(1.6019, 1.1120, 1.7200)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1223 #122D1C
analogous
#2A122D #2D1223 #2D1216
triadic
#2D1223 #232D12 #12232D
tetradic
#2D1223 #2D2A12 #122D1C #12162D
square
#2D1223 #2D2A12 #122D1C #12162D
split-complementary
#2D1223 #162D12 #122D2A
monochromatic
#160911 #160911 #2D1223 #592345 #843567

Accessibility & contrast

On white

17.18
#2D1223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2D1223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1223
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1223#FFFFFF#000000##FFFFFF
##2D12231.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141924
Deuteranopia (green-blind)
#1B1D22
Tritanopia (blue-blind)
#301218
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2d1223;
/* rgb */ color: rgb(45, 18, 35);
/* oklch */ color: oklch(23.0% 0.051 343.4);
Tailwind
colors: {
  custom: {
    50: '#67515d',
    500: '#2d1223',
    950: '#000000',
  },
}
SCSS
$custom: #2d1223;
$custom-light: #67515d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1223",
  "rgb": {
    "r": 45,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 322.222,
    "s": 42.857,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22987,
    "c": 0.05141,
    "h": 343.4
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#2D1223
secondary
#366547
accent
#D38455
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879

Preview Lab

Preview with #2D1223

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

Preview Lab → · Contrast checker → · Palette generator →

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