#2D0C12#2D0C12

#2D0C12 is a very dark, muted red. Relative luminance 0.009; OKLCH L 21.2% C 0.055 H 11.9°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2D0C12
RGBrgb(45, 12, 18)
HSLhsl(349, 58%, 11%)
HSVhsv(349, 73%, 18%)
CMYKcmyk(0%, 73.3%, 60%, 82.4%)
CIE-LABlab(7.81, 17.64, 3.89)
CIE-LCHlch(7.81, 18.06, 12.44°)
OKLaboklab(21.21% 0.0534 0.0113)
OKLCHoklch(21.21% 0.055 11.9)
XYZxyz(1.3229, 0.8647, 0.6694)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D0C12 #0C2D27
analogous
#2D0C22 #2D0C12 #2D160C
triadic
#2D0C12 #122D0C #0C122D
tetradic
#2D0C12 #222D0C #0C2D27 #160C2D
square
#2D0C12 #222D0C #0C2D27 #160C2D
split-complementary
#2D0C12 #0C2D16 #0C222D
monochromatic
#18060A #18060A #2D0C12 #5D1925 #8E2639

Accessibility & contrast

On white

17.90
#2D0C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2D0C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D0C12
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D0C12#FFFFFF#000000##FFFFFF
##2D0C121.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131312
Deuteranopia (green-blind)
#1C1A11
Tritanopia (blue-blind)
#32070E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2d0c12;
/* rgb */ color: rgb(45, 12, 18);
/* oklch */ color: oklch(21.2% 0.055 11.9);
Tailwind
colors: {
  custom: {
    50: '#684c4f',
    500: '#2d0c12',
    950: '#000000',
  },
}
SCSS
$custom: #2d0c12;
$custom-light: #684c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d0c12",
  "rgb": {
    "r": 45,
    "g": 12,
    "b": 18
  },
  "hsl": {
    "h": 349.091,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21213,
    "c": 0.05459,
    "h": 11.9
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#2D0C12
secondary
#2C695E
accent
#E1C547
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060102
muted
#7A7778

Preview Lab

Preview with #2D0C12

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

Preview Lab → · Contrast checker → · Palette generator →

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