#7F1524#7F1524

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

Color values

HEX#7F1524
RGBrgb(127, 21, 36)
HSLhsl(352, 72%, 29%)
HSVhsv(352, 83%, 50%)
CMYKcmyk(0%, 83.5%, 71.7%, 50.2%)
CIE-LABlab(27.23, 44.38, 20.26)
CIE-LCHlch(27.23, 48.79, 24.54°)
OKLaboklab(39% 0.131 0.0472)
OKLCHoklch(39% 0.139 19.8)
XYZxyz(9.3401, 5.1772, 2.1762)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1524 #157F70
analogous
#7F1559 #7F1524 #7F3B15
triadic
#7F1524 #247F15 #15247F
tetradic
#7F1524 #597F15 #157F70 #3B157F
square
#7F1524 #597F15 #157F70 #3B157F
split-complementary
#7F1524 #157F3B #15597F
monochromatic
#1A0407 #4A0C15 #7F1524 #B41E33 #DD314A

Accessibility & contrast

On white

10.32
#7F1524 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1524 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1524
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1524#FFFFFF#000000##FFFFFF
##7F15241.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363224
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1524;
/* rgb */ color: rgb(127, 21, 36);
/* oklch */ color: oklch(39.0% 0.139 19.8);
Tailwind
colors: {
  custom: {
    50: '#ab5f5e',
    500: '#7f1524',
    950: '#000000',
  },
}
SCSS
$custom: #7f1524;
$custom-light: #ab5f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1524",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 36
  },
  "hsl": {
    "h": 351.509,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39002,
    "c": 0.13922,
    "h": 19.8
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#7F1524
secondary
#3CB4A3
accent
#EED539
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1524

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

Preview Lab → · Contrast checker → · Palette generator →

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