#7F1215#7F1215

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

Color values

HEX#7F1215
RGBrgb(127, 18, 21)
HSLhsl(358, 75%, 28%)
HSVhsv(358, 86%, 50%)
CMYKcmyk(0%, 85.8%, 83.5%, 50.2%)
CIE-LABlab(26.74, 44.58, 29.23)
CIE-LCHlch(26.74, 53.31, 33.26°)
OKLaboklab(38.57% 0.128 0.0628)
OKLCHoklch(38.57% 0.143 26.1)
XYZxyz(9.1052, 5.0003, 1.1951)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1215 #127F7C
analogous
#7F124B #7F1215 #7F4512
triadic
#7F1215 #157F12 #12157F
tetradic
#7F1215 #4B7F12 #127F7C #45127F
square
#7F1215 #4B7F12 #127F7C #45127F
split-complementary
#7F1215 #127F45 #124B7F
monochromatic
#1B0404 #490A0C #7F1215 #B51A1E #E12B30

Accessibility & contrast

On white

10.50
#7F1215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1215
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1215#FFFFFF#000000##FFFFFF
##7F12151.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363014
Deuteranopia (green-blind)
#514710
Tritanopia (blue-blind)
#8D0015
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7f1215;
/* rgb */ color: rgb(127, 18, 21);
/* oklch */ color: oklch(38.6% 0.143 26.1);
Tailwind
colors: {
  custom: {
    50: '#ad5d53',
    500: '#7f1215',
    950: '#000000',
  },
}
SCSS
$custom: #7f1215;
$custom-light: #ad5d53;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1215",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 21
  },
  "hsl": {
    "h": 358.349,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38567,
    "c": 0.14263,
    "h": 26.1
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#7F1215
secondary
#38B5B1
accent
#F2ED36
background
#FBF5F4
surface
#F6E9E7
border
#D0C5C3
text
#120502
muted
#817978

Preview Lab

Preview with #7F1215

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

Preview Lab → · Contrast checker → · Palette generator →

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