#2F0502#2F0502

#2F0502 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.1% C 0.070 H 31.0°. Best body text is #FFFFFF at 18.37:1 contrast (WCAG AA passes).

Color values

HEX#2F0502
RGBrgb(47, 5, 2)
HSLhsl(4, 92%, 10%)
HSVhsv(4, 96%, 18%)
CMYKcmyk(0%, 89.4%, 95.7%, 81.6%)
CIE-LABlab(6.48, 20.73, 9.30)
CIE-LCHlch(6.48, 22.72, 24.17°)
OKLaboklab(20.1% 0.0598 0.036)
OKLCHoklch(20.1% 0.07 31)
XYZxyz(1.2377, 0.7175, 0.1307)
Luminance0.0072 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0502 #022C2F
analogous
#2F0216 #2F0502 #2F1C02
triadic
#2F0502 #022F05 #05022F
tetradic
#2F0502 #162F02 #022C2F #1C022F
square
#2F0502 #162F02 #022C2F #1C022F
split-complementary
#2F0502 #022F1C #02162F
monochromatic
#1D0301 #1D0301 #2F0502 #6A0B04 #A41107

Accessibility & contrast

On white

18.37
#2F0502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0502
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0502#FFFFFF#000000##FFFFFF
##2F05021.0018.371.1418.37
#FFFFFF18.371.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110E01
Deuteranopia (green-blind)
#1C1801
Tritanopia (blue-blind)
#350005
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0502;
/* rgb */ color: rgb(47, 5, 2);
/* oklch */ color: oklch(20.1% 0.070 31.0);
Tailwind
colors: {
  custom: {
    50: '#6b4847',
    500: '#2f0502',
    950: '#000000',
  },
}
SCSS
$custom: #2f0502;
$custom-light: #6b4847;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0502",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 2
  },
  "hsl": {
    "h": 4,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20101,
    "c": 0.06978,
    "h": 31
  },
  "luminance": 0.00717
}

Semantic roles & 50–950 ramp

primary
#2F0502
secondary
#196E74
accent
#F1FF29
background
#F6F4F4
surface
#ECE6E6
border
#C7C2C2
text
#070100
muted
#7A7777

Preview Lab

Preview with #2F0502

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

Preview Lab → · Contrast checker → · Palette generator →

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