#2F0507#2F0507

#2F0507 is a very dark, moderate red. Relative luminance 0.007; OKLCH L 20.2% C 0.068 H 22.8°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#2F0507
RGBrgb(47, 5, 7)
HSLhsl(357, 81%, 10%)
HSVhsv(357, 89%, 18%)
CMYKcmyk(0%, 89.4%, 85.1%, 81.6%)
CIE-LABlab(6.58, 21.17, 7.41)
CIE-LCHlch(6.58, 22.43, 19.29°)
OKLaboklab(20.22% 0.0631 0.0265)
OKLCHoklch(20.22% 0.068 22.8)
XYZxyz(1.2651, 0.7284, 0.2750)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0507 #052F2D
analogous
#2F051C #2F0507 #2F1805
triadic
#2F0507 #072F05 #05072F
tetradic
#2F0507 #1C2F05 #052F2D #18052F
square
#2F0507 #1C2F05 #052F2D #18052F
split-complementary
#2F0507 #052F18 #051C2F
monochromatic
#1C0304 #1C0304 #2F0507 #660B0F #9E1117

Accessibility & contrast

On white

18.33
#2F0507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#2F0507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0507
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0507#FFFFFF#000000##FFFFFF
##2F05071.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F07
Deuteranopia (green-blind)
#1B1806
Tritanopia (blue-blind)
#350006
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #2f0507;
/* rgb */ color: rgb(47, 5, 7);
/* oklch */ color: oklch(20.2% 0.068 22.8);
Tailwind
colors: {
  custom: {
    50: '#6b494a',
    500: '#2f0507',
    950: '#000000',
  },
}
SCSS
$custom: #2f0507;
$custom-light: #6b494a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0507",
  "rgb": {
    "r": 47,
    "g": 5,
    "b": 7
  },
  "hsl": {
    "h": 357.143,
    "s": 80.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20221,
    "c": 0.06846,
    "h": 22.8
  },
  "luminance": 0.00728
}

Semantic roles & 50–950 ramp

primary
#2F0507
secondary
#1F716D
accent
#F7EE31
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070101
muted
#7A7777

Preview Lab

Preview with #2F0507

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

Preview Lab → · Contrast checker → · Palette generator →

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