#7F1718#7F1718

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

Color values

HEX#7F1718
RGBrgb(127, 23, 24)
HSLhsl(359, 69%, 29%)
HSVhsv(359, 82%, 50%)
CMYKcmyk(0%, 81.9%, 81.1%, 50.2%)
CIE-LABlab(27.28, 43.25, 27.98)
CIE-LCHlch(27.28, 51.51, 32.90°)
OKLaboklab(38.98% 0.1245 0.0612)
OKLCHoklch(38.98% 0.139 26.2)
XYZxyz(9.2248, 5.1922, 1.3805)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1718 #177F7E
analogous
#7F174C #7F1718 #7F4A17
triadic
#7F1718 #187F17 #17187F
tetradic
#7F1718 #4C7F17 #177F7E #4A177F
square
#7F1718 #4C7F17 #177F7E #4A177F
split-complementary
#7F1718 #177F4A #174C7F
monochromatic
#1A0505 #4B0E0E #7F1718 #B32022 #DB3637

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1718#FFFFFF#000000##FFFFFF
##7F17181.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)
#383217
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1718;
/* rgb */ color: rgb(127, 23, 24);
/* oklch */ color: oklch(39.0% 0.139 26.2);
Tailwind
colors: {
  custom: {
    50: '#ac5f55',
    500: '#7f1718',
    950: '#000000',
  },
}
SCSS
$custom: #7f1718;
$custom-light: #ac5f55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1718",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 24
  },
  "hsl": {
    "h": 359.423,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38979,
    "c": 0.13873,
    "h": 26.2
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#7F1718
secondary
#3EB4B2
accent
#ECEA3C
background
#FBF5F5
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7F1718

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

Preview Lab → · Contrast checker → · Palette generator →

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