#2D0C22#2D0C22

#2D0C22 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.063 H 342.8°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#2D0C22
RGBrgb(45, 12, 34)
HSLhsl(320, 58%, 11%)
HSVhsv(320, 73%, 18%)
CMYKcmyk(0%, 73.3%, 24.4%, 82.4%)
CIE-LABlab(8.45, 20.09, -6.98)
CIE-LCHlch(8.45, 21.27, 340.84°)
OKLaboklab(21.9% 0.06 -0.0186)
OKLCHoklch(21.9% 0.063 342.8)
XYZxyz(1.5024, 0.9365, 1.6147)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C22 #0C2D17
analogous
#270C2D #2D0C22 #2D0C11
triadic
#2D0C22 #222D0C #0C222D
tetradic
#2D0C22 #2D270C #0C2D17 #0C112D
square
#2D0C22 #2D270C #0C2D17 #0C112D
split-complementary
#2D0C22 #112D0C #0C2D27
monochromatic
#180612 #180612 #2D0C22 #5D1947 #8E266B

Accessibility & contrast

On white

17.69
#2D0C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2D0C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0C22
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C22#FFFFFF#000000##FFFFFF
##2D0C221.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1523
Deuteranopia (green-blind)
#181A21
Tritanopia (blue-blind)
#300C15
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d0c22;
/* rgb */ color: rgb(45, 12, 34);
/* oklch */ color: oklch(21.9% 0.063 342.8);
Tailwind
colors: {
  custom: {
    50: '#674d5d',
    500: '#2d0c22',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c22;
$custom-light: #674d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c22",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 320,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.219,
    "c": 0.06284,
    "h": 342.8
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#2D0C22
secondary
#2C6940
accent
#E17A47
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2D0C22

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

Preview Lab → · Contrast checker → · Palette generator →

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