#2F020C#2F020C

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

Color values

HEX#2F020C
RGBrgb(47, 2, 12)
HSLhsl(347, 92%, 10%)
HSVhsv(347, 96%, 18%)
CMYKcmyk(0%, 95.7%, 74.5%, 81.6%)
CIE-LABlab(6.09, 23.12, 4.62)
CIE-LCHlch(6.09, 23.58, 11.29°)
OKLaboklab(19.84% 0.072 0.0162)
OKLCHoklch(19.84% 0.074 12.7)
XYZxyz(1.2605, 0.6745, 0.4116)
Luminance0.0067 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F020C #022F25
analogous
#2F0223 #2F020C #2F0F02
triadic
#2F020C #0C2F02 #020C2F
tetradic
#2F020C #232F02 #022F25 #0F022F
square
#2F020C #232F02 #022F25 #0F022F
split-complementary
#2F020C #022F0F #02232F
monochromatic
#1D0107 #1D0107 #2F020C #6A041B #A4072A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F020C#FFFFFF#000000##FFFFFF
##2F020C1.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)
#0E0D0C
Deuteranopia (green-blind)
#1A170B
Tritanopia (blue-blind)
#350006
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2f020c;
/* rgb */ color: rgb(47, 2, 12);
/* oklch */ color: oklch(19.8% 0.074 12.7);
Tailwind
colors: {
  custom: {
    50: '#6b474c',
    500: '#2f020c',
    950: '#000000',
  },
}
SCSS
$custom: #2f020c;
$custom-light: #6b474c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f020c",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 12
  },
  "hsl": {
    "h": 346.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19838,
    "c": 0.07378,
    "h": 12.7
  },
  "luminance": 0.00674
}

Semantic roles & 50–950 ramp

primary
#2F020C
secondary
#197460
accent
#FFCF29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F020C

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

Preview Lab → · Contrast checker → · Palette generator →

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