#7F1719#7F1719

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

Color values

HEX#7F1719
RGBrgb(127, 23, 25)
HSLhsl(359, 69%, 29%)
HSVhsv(359, 82%, 50%)
CMYKcmyk(0%, 81.9%, 80.3%, 50.2%)
CIE-LABlab(27.29, 43.28, 27.38)
CIE-LCHlch(27.29, 51.21, 32.31°)
OKLaboklab(38.99% 0.1249 0.0602)
OKLCHoklch(38.99% 0.139 25.7)
XYZxyz(9.2354, 5.1965, 1.4363)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1719 #177F7D
analogous
#7F174D #7F1719 #7F4917
triadic
#7F1719 #197F17 #17197F
tetradic
#7F1719 #4D7F17 #177F7D #49177F
square
#7F1719 #4D7F17 #177F7D #49177F
split-complementary
#7F1719 #177F49 #174D7F
monochromatic
#1A0505 #4B0E0F #7F1719 #B32023 #DB3639

Accessibility & contrast

On white

10.30
#7F1719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1719
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1719#FFFFFF#000000##FFFFFF
##7F17191.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383218
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1719;
/* rgb */ color: rgb(127, 23, 25);
/* oklch */ color: oklch(39.0% 0.139 25.7);
Tailwind
colors: {
  custom: {
    50: '#ac5f56',
    500: '#7f1719',
    950: '#000000',
  },
}
SCSS
$custom: #7f1719;
$custom-light: #ac5f56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1719",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 25
  },
  "hsl": {
    "h": 358.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38991,
    "c": 0.1386,
    "h": 25.7
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#7F1719
secondary
#3EB4B1
accent
#ECE93C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F1719

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

Preview Lab → · Contrast checker → · Palette generator →

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