#7F1720#7F1720

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

Color values

HEX#7F1720
RGBrgb(127, 23, 32)
HSLhsl(355, 69%, 29%)
HSVhsv(355, 82%, 50%)
CMYKcmyk(0%, 81.9%, 74.8%, 50.2%)
CIE-LABlab(27.38, 43.58, 23.06)
CIE-LCHlch(27.38, 49.30, 27.88°)
OKLaboklab(39.09% 0.1275 0.0526)
OKLCHoklch(39.09% 0.138 22.4)
XYZxyz(9.3206, 5.2306, 1.8851)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1720 #177F76
analogous
#7F1754 #7F1720 #7F4217
triadic
#7F1720 #207F17 #17207F
tetradic
#7F1720 #547F17 #177F76 #42177F
square
#7F1720 #547F17 #177F76 #42177F
split-complementary
#7F1720 #177F42 #17547F
monochromatic
#1A0507 #4B0E13 #7F1720 #B3202D #DB3644

Accessibility & contrast

On white

10.26
#7F1720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1720 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1720
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1720#FFFFFF#000000##FFFFFF
##7F17201.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321F
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1720;
/* rgb */ color: rgb(127, 23, 32);
/* oklch */ color: oklch(39.1% 0.138 22.4);
Tailwind
colors: {
  custom: {
    50: '#ac5f5b',
    500: '#7f1720',
    950: '#000000',
  },
}
SCSS
$custom: #7f1720;
$custom-light: #ac5f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1720",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 32
  },
  "hsl": {
    "h": 354.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39091,
    "c": 0.13788,
    "h": 22.4
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#7F1720
secondary
#3EB4A9
accent
#ECDD3C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #7F1720

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

Preview Lab → · Contrast checker → · Palette generator →

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