#2F0402#2F0402

#2F0402 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.9% C 0.071 H 29.9°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#2F0402
RGBrgb(47, 4, 2)
HSLhsl(3, 92%, 10%)
HSVhsv(3, 96%, 18%)
CMYKcmyk(0%, 91.5%, 95.7%, 81.6%)
CIE-LABlab(6.29, 21.23, 9.02)
CIE-LCHlch(6.29, 23.07, 23.02°)
OKLaboklab(19.93% 0.0618 0.0355)
OKLCHoklch(19.93% 0.071 29.9)
XYZxyz(1.2268, 0.6958, 0.1271)
Luminance0.0070 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0402 #022D2F
analogous
#2F0217 #2F0402 #2F1B02
triadic
#2F0402 #022F04 #04022F
tetradic
#2F0402 #172F02 #022D2F #1B022F
square
#2F0402 #172F02 #022D2F #1B022F
split-complementary
#2F0402 #022F1B #02172F
monochromatic
#1D0201 #1D0201 #2F0402 #6A0904 #A40E07

Accessibility & contrast

On white

18.43
#2F0402 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#2F0402 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0402
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0402#FFFFFF#000000##FFFFFF
##2F04021.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110E02
Deuteranopia (green-blind)
#1C1701
Tritanopia (blue-blind)
#350004
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0402;
/* rgb */ color: rgb(47, 4, 2);
/* oklch */ color: oklch(19.9% 0.071 29.9);
Tailwind
colors: {
  custom: {
    50: '#6b4847',
    500: '#2f0402',
    950: '#000000',
  },
}
SCSS
$custom: #2f0402;
$custom-light: #6b4847;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0402",
  "rgb": {
    "r": 47,
    "g": 4,
    "b": 2
  },
  "hsl": {
    "h": 2.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19931,
    "c": 0.07127,
    "h": 29.9
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#2F0402
secondary
#197074
accent
#F5FF29
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070000
muted
#7A7777

Preview Lab

Preview with #2F0402

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

Preview Lab → · Contrast checker → · Palette generator →

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