#2F020A#2F020A

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

Color values

HEX#2F020A
RGBrgb(47, 2, 10)
HSLhsl(349, 92%, 10%)
HSVhsv(349, 96%, 18%)
CMYKcmyk(0%, 95.7%, 78.7%, 81.6%)
CIE-LABlab(6.05, 22.94, 5.42)
CIE-LCHlch(6.05, 23.57, 13.29°)
OKLaboklab(19.79% 0.071 0.0196)
OKLCHoklch(19.79% 0.074 15.4)
XYZxyz(1.2489, 0.6699, 0.3506)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F020A #022F27
analogous
#2F0221 #2F020A #2F1002
triadic
#2F020A #0A2F02 #020A2F
tetradic
#2F020A #212F02 #022F27 #10022F
square
#2F020A #212F02 #022F27 #10022F
split-complementary
#2F020A #022F10 #02212F
monochromatic
#1D0106 #1D0106 #2F020A #6A0416 #A40723

Accessibility & contrast

On white

18.52
#2F020A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F020A
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F020A#FFFFFF#000000##FFFFFF
##2F020A1.0018.521.1318.52
#FFFFFF18.521.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f020a;
/* rgb */ color: rgb(47, 2, 10);
/* oklch */ color: oklch(19.8% 0.074 15.4);
Tailwind
colors: {
  custom: {
    50: '#6b474b',
    500: '#2f020a',
    950: '#000000',
  },
}
SCSS
$custom: #2f020a;
$custom-light: #6b474b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f020a",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 10
  },
  "hsl": {
    "h": 349.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19785,
    "c": 0.07363,
    "h": 15.4
  },
  "luminance": 0.0067
}

Semantic roles & 50–950 ramp

primary
#2F020A
secondary
#197464
accent
#FFD929
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F020A

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

Preview Lab → · Contrast checker → · Palette generator →

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