#2F0202#2F0202

#2F0202 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.6% C 0.074 H 27.7°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#2F0202
RGBrgb(47, 2, 2)
HSLhsl(0, 92%, 10%)
HSVhsv(0, 96%, 18%)
CMYKcmyk(0%, 95.7%, 95.7%, 81.6%)
CIE-LABlab(5.89, 22.23, 8.44)
CIE-LCHlch(5.89, 23.78, 20.80°)
OKLaboklab(19.58% 0.0659 0.0346)
OKLCHoklch(19.58% 0.074 27.7)
XYZxyz(1.2051, 0.6523, 0.1199)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0202 #022F2F
analogous
#2F0219 #2F0202 #2F1902
triadic
#2F0202 #022F02 #02022F
tetradic
#2F0202 #192F02 #022F2F #19022F
square
#2F0202 #192F02 #022F2F #19022F
split-complementary
#2F0202 #022F19 #02192F
monochromatic
#1D0101 #1D0101 #2F0202 #6A0404 #A40707

Accessibility & contrast

On white

18.58
#2F0202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2F0202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0202
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0202#FFFFFF#000000##FFFFFF
##2F02021.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0C02
Deuteranopia (green-blind)
#1B1701
Tritanopia (blue-blind)
#350002
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2f0202;
/* rgb */ color: rgb(47, 2, 2);
/* oklch */ color: oklch(19.6% 0.074 27.7);
Tailwind
colors: {
  custom: {
    50: '#6b4747',
    500: '#2f0202',
    950: '#000000',
  },
}
SCSS
$custom: #2f0202;
$custom-light: #6b4747;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0202",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 2
  },
  "hsl": {
    "h": 0,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19581,
    "c": 0.07446,
    "h": 27.7
  },
  "luminance": 0.00652
}

Semantic roles & 50–950 ramp

primary
#2F0202
secondary
#197474
accent
#FFFF29
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2F0202

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

Preview Lab → · Contrast checker → · Palette generator →

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