#2F0207#2F0207

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

Color values

HEX#2F0207
RGBrgb(47, 2, 7)
HSLhsl(353, 92%, 10%)
HSVhsv(353, 96%, 18%)
CMYKcmyk(0%, 95.7%, 85.1%, 81.6%)
CIE-LABlab(5.99, 22.68, 6.55)
CIE-LCHlch(5.99, 23.60, 16.12°)
OKLaboklab(19.71% 0.0694 0.0247)
OKLCHoklch(19.71% 0.074 19.6)
XYZxyz(1.2325, 0.6633, 0.2641)
Luminance0.0066 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0207 #022F2A
analogous
#2F021E #2F0207 #2F1402
triadic
#2F0207 #072F02 #02072F
tetradic
#2F0207 #1E2F02 #022F2A #14022F
square
#2F0207 #1E2F02 #022F2A #14022F
split-complementary
#2F0207 #022F14 #021E2F
monochromatic
#1D0104 #1D0104 #2F0207 #6A0410 #A40718

Accessibility & contrast

On white

18.54
#2F0207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0207
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0207#FFFFFF#000000##FFFFFF
##2F02071.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0D07
Deuteranopia (green-blind)
#1A1706
Tritanopia (blue-blind)
#350004
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2f0207;
/* rgb */ color: rgb(47, 2, 7);
/* oklch */ color: oklch(19.7% 0.074 19.6);
Tailwind
colors: {
  custom: {
    50: '#6b474a',
    500: '#2f0207',
    950: '#000000',
  },
}
SCSS
$custom: #2f0207;
$custom-light: #6b474a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0207",
  "rgb": {
    "r": 47,
    "g": 2,
    "b": 7
  },
  "hsl": {
    "h": 353.333,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19709,
    "c": 0.07363,
    "h": 19.6
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#2F0207
secondary
#19746A
accent
#FFE729
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F0207

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

Preview Lab → · Contrast checker → · Palette generator →

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