#2F0C12#2F0C12

#2F0C12 is a very dark, muted red. Relative luminance 0.009; OKLCH L 21.6% C 0.057 H 12.9°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#2F0C12
RGBrgb(47, 12, 18)
HSLhsl(350, 59%, 12%)
HSVhsv(350, 74%, 18%)
CMYKcmyk(0%, 74.5%, 61.7%, 81.6%)
CIE-LABlab(8.23, 18.52, 4.55)
CIE-LCHlch(8.23, 19.07, 13.81°)
OKLaboklab(21.61% 0.0559 0.0128)
OKLCHoklch(21.61% 0.057 12.9)
XYZxyz(1.4131, 0.9111, 0.6736)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C12 #0C2F29
analogous
#2F0C24 #2F0C12 #2F180C
triadic
#2F0C12 #122F0C #0C122F
tetradic
#2F0C12 #242F0C #0C2F29 #180C2F
square
#2F0C12 #242F0C #0C2F29 #180C2F
split-complementary
#2F0C12 #0C2F18 #0C242F
monochromatic
#180609 #180609 #2F0C12 #601825 #912537

Accessibility & contrast

On white

17.76
#2F0C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#2F0C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0C12
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C12#FFFFFF#000000##FFFFFF
##2F0C121.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141312
Deuteranopia (green-blind)
#1D1B11
Tritanopia (blue-blind)
#34070E
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0c12;
/* rgb */ color: rgb(47, 12, 18);
/* oklch */ color: oklch(21.6% 0.057 12.9);
Tailwind
colors: {
  custom: {
    50: '#6a4d4f',
    500: '#2f0c12',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c12;
$custom-light: #6a4d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c12",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 18
  },
  "hsl": {
    "h": 349.714,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21608,
    "c": 0.05738,
    "h": 12.9
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#2F0C12
secondary
#2C6B60
accent
#E3C845
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0C12

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

Preview Lab → · Contrast checker → · Palette generator →

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