#7F1520#7F1520

#7F1520 is a dark, vivid red. Relative luminance 0.052; OKLCH L 38.9% C 0.139 H 21.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#7F1520
RGBrgb(127, 21, 32)
HSLhsl(354, 72%, 29%)
HSVhsv(354, 83%, 50%)
CMYKcmyk(0%, 83.5%, 74.8%, 50.2%)
CIE-LABlab(27.17, 44.18, 22.81)
CIE-LCHlch(27.17, 49.72, 27.30°)
OKLaboklab(38.93% 0.1294 0.052)
OKLCHoklch(38.93% 0.139 21.9)
XYZxyz(9.2824, 5.1541, 1.8723)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1520 #157F74
analogous
#7F1555 #7F1520 #7F3F15
triadic
#7F1520 #207F15 #15207F
tetradic
#7F1520 #557F15 #157F74 #3F157F
square
#7F1520 #557F15 #157F74 #3F157F
split-complementary
#7F1520 #157F3F #15557F
monochromatic
#1A0407 #4A0C13 #7F1520 #B41E2D #DD3143

Accessibility & contrast

On white

10.34
#7F1520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1520 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1520
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1520#FFFFFF#000000##FFFFFF
##7F15201.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36321F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1520;
/* rgb */ color: rgb(127, 21, 32);
/* oklch */ color: oklch(38.9% 0.139 21.9);
Tailwind
colors: {
  custom: {
    50: '#ac5f5b',
    500: '#7f1520',
    950: '#000000',
  },
}
SCSS
$custom: #7f1520;
$custom-light: #ac5f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1520",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 32
  },
  "hsl": {
    "h": 353.774,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38934,
    "c": 0.13945,
    "h": 21.9
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#7F1520
secondary
#3CB4A8
accent
#EEDC39
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #7F1520

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

Preview Lab → · Contrast checker → · Palette generator →

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