#7F1522#7F1522

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

Color values

HEX#7F1522
RGBrgb(127, 21, 34)
HSLhsl(353, 72%, 29%)
HSVhsv(353, 83%, 50%)
CMYKcmyk(0%, 83.5%, 73.2%, 50.2%)
CIE-LABlab(27.20, 44.28, 21.54)
CIE-LCHlch(27.20, 49.24, 25.94°)
OKLaboklab(38.97% 0.1302 0.0497)
OKLCHoklch(38.97% 0.139 20.9)
XYZxyz(9.3104, 5.1653, 2.0198)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1522 #157F72
analogous
#7F1557 #7F1522 #7F3D15
triadic
#7F1522 #227F15 #15227F
tetradic
#7F1522 #577F15 #157F72 #3D157F
square
#7F1522 #577F15 #157F72 #3D157F
split-complementary
#7F1522 #157F3D #15577F
monochromatic
#1A0407 #4A0C14 #7F1522 #B41E30 #DD3146

Accessibility & contrast

On white

10.33
#7F1522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1522
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1522#FFFFFF#000000##FFFFFF
##7F15221.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363222
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1522;
/* rgb */ color: rgb(127, 21, 34);
/* oklch */ color: oklch(39.0% 0.139 20.9);
Tailwind
colors: {
  custom: {
    50: '#ac5f5d',
    500: '#7f1522',
    950: '#000000',
  },
}
SCSS
$custom: #7f1522;
$custom-light: #ac5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1522",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 34
  },
  "hsl": {
    "h": 352.642,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38967,
    "c": 0.13932,
    "h": 20.9
  },
  "luminance": 0.05164
}

Semantic roles & 50–950 ramp

primary
#7F1522
secondary
#3CB4A5
accent
#EED839
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1522

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

Preview Lab → · Contrast checker → · Palette generator →

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