#7F1724#7F1724

#7F1724 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.138 H 20.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7F1724
RGBrgb(127, 23, 36)
HSLhsl(353, 69%, 29%)
HSVhsv(353, 82%, 50%)
CMYKcmyk(0%, 81.9%, 71.7%, 50.2%)
CIE-LABlab(27.45, 43.78, 20.52)
CIE-LCHlch(27.45, 48.35, 25.12°)
OKLaboklab(39.16% 0.1291 0.0478)
OKLCHoklch(39.16% 0.138 20.3)
XYZxyz(9.3783, 5.2537, 2.1890)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1724 #177F72
analogous
#7F1758 #7F1724 #7F3E17
triadic
#7F1724 #247F17 #17247F
tetradic
#7F1724 #587F17 #177F72 #3E177F
square
#7F1724 #587F17 #177F72 #3E177F
split-complementary
#7F1724 #177F3E #17587F
monochromatic
#1A0507 #4B0E15 #7F1724 #B32033 #DB364A

Accessibility & contrast

On white

10.24
#7F1724 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1724
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1724#FFFFFF#000000##FFFFFF
##7F17241.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373324
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1724;
/* rgb */ color: rgb(127, 23, 36);
/* oklch */ color: oklch(39.2% 0.138 20.3);
Tailwind
colors: {
  custom: {
    50: '#ab5f5e',
    500: '#7f1724',
    950: '#000000',
  },
}
SCSS
$custom: #7f1724;
$custom-light: #ab5f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1724",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 36
  },
  "hsl": {
    "h": 352.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.13761,
    "h": 20.3
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#7F1724
secondary
#3EB4A5
accent
#ECD63C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1724

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

Preview Lab → · Contrast checker → · Palette generator →

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