#7F1210#7F1210

#7F1210 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.5% C 0.143 H 27.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#7F1210
RGBrgb(127, 18, 16)
HSLhsl(1, 78%, 28%)
HSVhsv(1, 87%, 50%)
CMYKcmyk(0%, 85.8%, 87.4%, 50.2%)
CIE-LABlab(26.69, 44.43, 32.07)
CIE-LCHlch(26.69, 54.80, 35.82°)
OKLaboklab(38.52% 0.1265 0.067)
OKLCHoklch(38.52% 0.143 27.9)
XYZxyz(9.0634, 4.9836, 0.9748)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1210 #107D7F
analogous
#7F1045 #7F1210 #7F4910
triadic
#7F1210 #107F12 #12107F
tetradic
#7F1210 #457F10 #107D7F #49107F
square
#7F1210 #457F10 #107D7F #49107F
split-complementary
#7F1210 #107F49 #10457F
monochromatic
#1B0403 #490A09 #7F1210 #B51A17 #E42926

Accessibility & contrast

On white

10.52
#7F1210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7F1210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1210
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1210#FFFFFF#000000##FFFFFF
##7F12101.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300E
Deuteranopia (green-blind)
#514709
Tritanopia (blue-blind)
#8D0014
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1210;
/* rgb */ color: rgb(127, 18, 16);
/* oklch */ color: oklch(38.5% 0.143 27.9);
Tailwind
colors: {
  custom: {
    50: '#ad5d4f',
    500: '#7f1210',
    950: '#000000',
  },
}
SCSS
$custom: #7f1210;
$custom-light: #ad5d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1210",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 16
  },
  "hsl": {
    "h": 1.081,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.1432,
    "h": 27.9
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#7F1210
secondary
#36B3B5
accent
#F1F434
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1210

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

Preview Lab → · Contrast checker → · Palette generator →

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