#2F0C0C#2F0C0C

#2F0C0C is a very dark, muted red. Relative luminance 0.009; OKLCH L 21.4% C 0.058 H 23.3°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#2F0C0C
RGBrgb(47, 12, 12)
HSLhsl(0, 59%, 12%)
HSVhsv(0, 74%, 18%)
CMYKcmyk(0%, 74.5%, 74.5%, 81.6%)
CIE-LABlab(8.08, 17.92, 7.51)
CIE-LCHlch(8.08, 19.43, 22.74°)
OKLaboklab(21.44% 0.0529 0.0228)
OKLCHoklch(21.44% 0.058 23.3)
XYZxyz(1.3703, 0.8940, 0.4482)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0C0C #0C2F2F
analogous
#2F0C1E #2F0C0C #2F1E0C
triadic
#2F0C0C #0C2F0C #0C0C2F
tetradic
#2F0C0C #1E2F0C #0C2F2F #1E0C2F
square
#2F0C0C #1E2F0C #0C2F2F #1E0C2F
split-complementary
#2F0C0C #0C2F1E #0C1E2F
monochromatic
#180606 #180606 #2F0C0C #601818 #912525

Accessibility & contrast

On white

17.81
#2F0C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0C0C
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0C0C#FFFFFF#000000##FFFFFF
##2F0C0C1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130C
Deuteranopia (green-blind)
#1E1A0B
Tritanopia (blue-blind)
#34060C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2f0c0c;
/* rgb */ color: rgb(47, 12, 12);
/* oklch */ color: oklch(21.4% 0.058 23.3);
Tailwind
colors: {
  custom: {
    50: '#6a4c4c',
    500: '#2f0c0c',
    950: '#000000',
  },
}
SCSS
$custom: #2f0c0c;
$custom-light: #6a4c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0c0c",
  "rgb": {
    "r": 47,
    "g": 12,
    "b": 12
  },
  "hsl": {
    "h": 0,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21444,
    "c": 0.0576,
    "h": 23.3
  },
  "luminance": 0.00894
}

Semantic roles & 50–950 ramp

primary
#2F0C0C
secondary
#2C6B6B
accent
#E3E345
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F0C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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