#2D0C20#2D0C20

#2D0C20 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.061 H 346.0°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#2D0C20
RGBrgb(45, 12, 32)
HSLhsl(324, 58%, 11%)
HSVhsv(324, 73%, 18%)
CMYKcmyk(0%, 73.3%, 28.9%, 82.4%)
CIE-LABlab(8.35, 19.73, -5.60)
CIE-LCHlch(8.35, 20.51, 344.14°)
OKLaboklab(21.8% 0.0594 -0.0148)
OKLCHoklch(21.8% 0.061 346)
XYZxyz(1.4744, 0.9253, 1.4672)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C20 #0C2D19
analogous
#290C2D #2D0C20 #2D0C0F
triadic
#2D0C20 #202D0C #0C202D
tetradic
#2D0C20 #2D290C #0C2D19 #0C0F2D
square
#2D0C20 #2D290C #0C2D19 #0C0F2D
split-complementary
#2D0C20 #0F2D0C #0C2D29
monochromatic
#180611 #180611 #2D0C20 #5D1942 #8E2665

Accessibility & contrast

On white

17.72
#2D0C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D0C20
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C20#FFFFFF#000000##FFFFFF
##2D0C201.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1521
Deuteranopia (green-blind)
#191A1F
Tritanopia (blue-blind)
#300B14
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2d0c20;
/* rgb */ color: rgb(45, 12, 32);
/* oklch */ color: oklch(21.8% 0.061 346.0);
Tailwind
colors: {
  custom: {
    50: '#674d5b',
    500: '#2d0c20',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c20;
$custom-light: #674d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c20",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 32
  },
  "hsl": {
    "h": 323.636,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21796,
    "c": 0.0612,
    "h": 346
  },
  "luminance": 0.00925
}

Semantic roles & 50–950 ramp

primary
#2D0C20
secondary
#2C6944
accent
#E18447
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2D0C20

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

Preview Lab → · Contrast checker → · Palette generator →

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