#7F1528#7F1528

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

Color values

HEX#7F1528
RGBrgb(127, 21, 40)
HSLhsl(349, 72%, 29%)
HSVhsv(349, 83%, 50%)
CMYKcmyk(0%, 83.5%, 68.5%, 50.2%)
CIE-LABlab(27.31, 44.60, 17.70)
CIE-LCHlch(27.31, 47.98, 21.64°)
OKLaboklab(39.08% 0.1326 0.042)
OKLCHoklch(39.08% 0.139 17.6)
XYZxyz(9.4046, 5.2030, 2.5162)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1528 #157F6C
analogous
#7F155D #7F1528 #7F3715
triadic
#7F1528 #287F15 #15287F
tetradic
#7F1528 #5D7F15 #157F6C #37157F
square
#7F1528 #5D7F15 #157F6C #37157F
split-complementary
#7F1528 #157F37 #155D7F
monochromatic
#1A0408 #4A0C17 #7F1528 #B41E39 #DD3150

Accessibility & contrast

On white

10.29
#7F1528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1528
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1528#FFFFFF#000000##FFFFFF
##7F15281.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353228
Deuteranopia (green-blind)
#504825
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1528;
/* rgb */ color: rgb(127, 21, 40);
/* oklch */ color: oklch(39.1% 0.139 17.6);
Tailwind
colors: {
  custom: {
    50: '#ab5f61',
    500: '#7f1528',
    950: '#000000',
  },
}
SCSS
$custom: #7f1528;
$custom-light: #ab5f61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1528",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 349.245,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39078,
    "c": 0.13912,
    "h": 17.6
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#7F1528
secondary
#3CB49E
accent
#EECE39
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110505
muted
#807979

Preview Lab

Preview with #7F1528

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

Preview Lab → · Contrast checker → · Palette generator →

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