#2F0204#2F0204

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

Color values

HEX#2F0204
RGBrgb(47, 2, 4)
HSLhsl(357, 92%, 10%)
HSVhsv(357, 96%, 18%)
CMYKcmyk(0%, 95.7%, 91.5%, 81.6%)
CIE-LABlab(5.93, 22.41, 7.69)
CIE-LCHlch(5.93, 23.69, 18.93°)
OKLaboklab(19.63% 0.0674 0.0304)
OKLCHoklch(19.63% 0.074 24.3)
XYZxyz(1.2161, 0.6567, 0.1776)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0204 #022F2D
analogous
#2F021B #2F0204 #2F1702
triadic
#2F0204 #042F02 #02042F
tetradic
#2F0204 #1B2F02 #022F2D #17022F
square
#2F0204 #1B2F02 #022F2D #17022F
split-complementary
#2F0204 #022F17 #021B2F
monochromatic
#1D0102 #1D0102 #2F0204 #6A0409 #A4070E

Accessibility & contrast

On white

18.56
#2F0204 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0204
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0204#FFFFFF#000000##FFFFFF
##2F02041.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0D04
Deuteranopia (green-blind)
#1B1703
Tritanopia (blue-blind)
#350003
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2f0204;
/* rgb */ color: rgb(47, 2, 4);
/* oklch */ color: oklch(19.6% 0.074 24.3);
Tailwind
colors: {
  custom: {
    50: '#6b4748',
    500: '#2f0204',
    950: '#000000',
  },
}
SCSS
$custom: #2f0204;
$custom-light: #6b4748;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0204",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 4
  },
  "hsl": {
    "h": 357.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19633,
    "c": 0.07397,
    "h": 24.3
  },
  "luminance": 0.00657
}

Semantic roles & 50–950 ramp

primary
#2F0204
secondary
#197470
accent
#FFF529
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2F0204

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

Preview Lab → · Contrast checker → · Palette generator →

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