#2F0A12#2F0A12

#2F0A12 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.3% C 0.061 H 10.9°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#2F0A12
RGBrgb(47, 10, 18)
HSLhsl(347, 65%, 11%)
HSVhsv(347, 79%, 18%)
CMYKcmyk(0%, 78.7%, 61.7%, 81.6%)
CIE-LABlab(7.82, 19.62, 3.95)
CIE-LCHlch(7.82, 20.01, 11.38°)
OKLaboklab(21.3% 0.0595 0.0115)
OKLCHoklch(21.3% 0.061 10.9)
XYZxyz(1.3901, 0.8653, 0.6660)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A12 #0A2F27
analogous
#2F0A24 #2F0A12 #2F140A
triadic
#2F0A12 #122F0A #0A122F
tetradic
#2F0A12 #242F0A #0A2F27 #140A2F
square
#2F0A12 #242F0A #0A2F27 #140A2F
split-complementary
#2F0A12 #0A2F14 #0A242F
monochromatic
#19050A #19050A #2F0A12 #611525 #941F39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F0A12#FFFFFF#000000##FFFFFF
##2F0A121.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)
#131212
Deuteranopia (green-blind)
#1C1A11
Tritanopia (blue-blind)
#34050D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2f0a12;
/* rgb */ color: rgb(47, 10, 18);
/* oklch */ color: oklch(21.3% 0.061 10.9);
Tailwind
colors: {
  custom: {
    50: '#6a4b4f',
    500: '#2f0a12',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a12;
$custom-light: #6a4b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a12",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 18
  },
  "hsl": {
    "h": 347.027,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21299,
    "c": 0.06056,
    "h": 10.9
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#2F0A12
secondary
#296C5E
accent
#E8C440
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #2F0A12

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

Preview Lab → · Contrast checker → · Palette generator →

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