#7F1D11#7F1D11

#7F1D11 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.135 H 30.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7F1D11
RGBrgb(127, 29, 17)
HSLhsl(7, 76%, 28%)
HSVhsv(7, 87%, 50%)
CMYKcmyk(0%, 77.2%, 86.6%, 50.2%)
CIE-LABlab(27.93, 40.98, 32.65)
CIE-LCHlch(27.93, 52.40, 38.54°)
OKLaboklab(39.45% 0.116 0.0688)
OKLCHoklch(39.45% 0.135 30.7)
XYZxyz(9.2941, 5.4327, 1.0895)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D11 #11737F
analogous
#7F113C #7F1D11 #7F5411
triadic
#7F1D11 #117F1D #1D117F
tetradic
#7F1D11 #3C7F11 #11737F #54117F
square
#7F1D11 #3C7F11 #11737F #54117F
split-complementary
#7F1D11 #117F54 #113C7F
monochromatic
#1B0604 #49110A #7F1D11 #B52918 #E23C28

Accessibility & contrast

On white

10.07
#7F1D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7F1D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D11
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D11#FFFFFF#000000##FFFFFF
##7F1D111.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340E
Deuteranopia (green-blind)
#534A0B
Tritanopia (blue-blind)
#8D001B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1d11;
/* rgb */ color: rgb(127, 29, 17);
/* oklch */ color: oklch(39.4% 0.135 30.7);
Tailwind
colors: {
  custom: {
    50: '#ad6151',
    500: '#7f1d11',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d11;
$custom-light: #ad6151;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d11",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 17
  },
  "hsl": {
    "h": 6.545,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39446,
    "c": 0.13483,
    "h": 30.7
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#7F1D11
secondary
#37A7B5
accent
#DEF335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120502
muted
#817A78

Preview Lab

Preview with #7F1D11

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

Preview Lab → · Contrast checker → · Palette generator →

#7F1D11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva