#7F1519#7F1519

#7F1519 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.8% C 0.140 H 25.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7F1519
RGBrgb(127, 21, 25)
HSLhsl(358, 72%, 29%)
HSVhsv(358, 83%, 50%)
CMYKcmyk(0%, 83.5%, 80.3%, 50.2%)
CIE-LABlab(27.07, 43.88, 27.15)
CIE-LCHlch(27.07, 51.60, 31.74°)
OKLaboklab(38.83% 0.1268 0.0597)
OKLCHoklch(38.83% 0.14 25.2)
XYZxyz(9.1971, 5.1200, 1.4235)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1519 #157F7B
analogous
#7F154E #7F1519 #7F4615
triadic
#7F1519 #197F15 #15197F
tetradic
#7F1519 #4E7F15 #157F7B #46157F
square
#7F1519 #4E7F15 #157F7B #46157F
split-complementary
#7F1519 #157F46 #154E7F
monochromatic
#1A0405 #4A0C0F #7F1519 #B41E23 #DD3138

Accessibility & contrast

On white

10.38
#7F1519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7F1519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1519
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1519#FFFFFF#000000##FFFFFF
##7F15191.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373118
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1519;
/* rgb */ color: rgb(127, 21, 25);
/* oklch */ color: oklch(38.8% 0.140 25.2);
Tailwind
colors: {
  custom: {
    50: '#ac5e56',
    500: '#7f1519',
    950: '#000000',
  },
}
SCSS
$custom: #7f1519;
$custom-light: #ac5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1519",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 25
  },
  "hsl": {
    "h": 357.736,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38833,
    "c": 0.14011,
    "h": 25.2
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#7F1519
secondary
#3CB4AF
accent
#EEE839
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F1519

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

Preview Lab → · Contrast checker → · Palette generator →

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