#2F0307#2F0307

#2F0307 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.9% C 0.072 H 20.6°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#2F0307
RGBrgb(47, 3, 7)
HSLhsl(355, 88%, 10%)
HSVhsv(355, 94%, 18%)
CMYKcmyk(0%, 93.6%, 85.1%, 81.6%)
CIE-LABlab(6.19, 22.17, 6.84)
CIE-LCHlch(6.19, 23.20, 17.14°)
OKLaboklab(19.88% 0.0672 0.0253)
OKLCHoklch(19.88% 0.072 20.6)
XYZxyz(1.2433, 0.6850, 0.2677)
Luminance0.0069 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0307 #032F2B
analogous
#2F031D #2F0307 #2F1503
triadic
#2F0307 #072F03 #03072F
tetradic
#2F0307 #1D2F03 #032F2B #15032F
square
#2F0307 #1D2F03 #032F2B #15032F
split-complementary
#2F0307 #032F15 #031D2F
monochromatic
#1D0204 #1D0204 #2F0307 #690710 #A20A18

Accessibility & contrast

On white

18.47
#2F0307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0307
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0307#FFFFFF#000000##FFFFFF
##2F03071.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0D07
Deuteranopia (green-blind)
#1B1706
Tritanopia (blue-blind)
#350005
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #2f0307;
/* rgb */ color: rgb(47, 3, 7);
/* oklch */ color: oklch(19.9% 0.072 20.6);
Tailwind
colors: {
  custom: {
    50: '#6b474a',
    500: '#2f0307',
    950: '#000000',
  },
}
SCSS
$custom: #2f0307;
$custom-light: #6b474a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0307",
  "rgb": {
    "r": 47,
    "g": 3,
    "b": 7
  },
  "hsl": {
    "h": 354.545,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19883,
    "c": 0.07183,
    "h": 20.6
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#2F0307
secondary
#1B736B
accent
#FEEB2A
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #2F0307

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

Preview Lab → · Contrast checker → · Palette generator →

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