#2F020B#2F020B

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

Color values

HEX#2F020B
RGBrgb(47, 2, 11)
HSLhsl(348, 92%, 10%)
HSVhsv(348, 96%, 18%)
CMYKcmyk(0%, 95.7%, 76.6%, 81.6%)
CIE-LABlab(6.07, 23.03, 5.03)
CIE-LCHlch(6.07, 23.57, 12.32°)
OKLaboklab(19.81% 0.0715 0.0179)
OKLCHoklch(19.81% 0.074 14.1)
XYZxyz(1.2545, 0.6721, 0.3802)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F020B #022F26
analogous
#2F0222 #2F020B #2F1002
triadic
#2F020B #0B2F02 #020B2F
tetradic
#2F020B #222F02 #022F26 #10022F
square
#2F020B #222F02 #022F26 #10022F
split-complementary
#2F020B #022F10 #02222F
monochromatic
#1D0107 #1D0107 #2F020B #6A0419 #A40726

Accessibility & contrast

On white

18.51
#2F020B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F020B
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F020B#FFFFFF#000000##FFFFFF
##2F020B1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0D0B
Deuteranopia (green-blind)
#1A170A
Tritanopia (blue-blind)
#350005
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2f020b;
/* rgb */ color: rgb(47, 2, 11);
/* oklch */ color: oklch(19.8% 0.074 14.1);
Tailwind
colors: {
  custom: {
    50: '#6b474c',
    500: '#2f020b',
    950: '#000000',
  },
}
SCSS
$custom: #2f020b;
$custom-light: #6b474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f020b",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 11
  },
  "hsl": {
    "h": 348,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19811,
    "c": 0.07369,
    "h": 14.1
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#2F020B
secondary
#197462
accent
#FFD429
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F020B

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

Preview Lab → · Contrast checker → · Palette generator →

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