#7F1917#7F1917

#7F1917 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.1% C 0.137 H 27.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7F1917
RGBrgb(127, 25, 23)
HSLhsl(1, 69%, 29%)
HSVhsv(1, 82%, 50%)
CMYKcmyk(0%, 80.3%, 81.9%, 50.2%)
CIE-LABlab(27.49, 42.57, 28.81)
CIE-LCHlch(27.49, 51.40, 34.09°)
OKLaboklab(39.14% 0.1222 0.0626)
OKLCHoklch(39.14% 0.137 27.1)
XYZxyz(9.2558, 5.2706, 1.3404)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1917 #177D7F
analogous
#7F1749 #7F1917 #7F4D17
triadic
#7F1917 #177F19 #19177F
tetradic
#7F1917 #497F17 #177D7F #4D177F
square
#7F1917 #497F17 #177D7F #4D177F
split-complementary
#7F1917 #177F4D #17497F
monochromatic
#1A0505 #4B0F0E #7F1917 #B32320 #DB3936

Accessibility & contrast

On white

10.22
#7F1917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1917
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1917#FFFFFF#000000##FFFFFF
##7F19171.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393315
Deuteranopia (green-blind)
#524912
Tritanopia (blue-blind)
#8C001A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1917;
/* rgb */ color: rgb(127, 25, 23);
/* oklch */ color: oklch(39.1% 0.137 27.1);
Tailwind
colors: {
  custom: {
    50: '#ac6054',
    500: '#7f1917',
    950: '#000000',
  },
}
SCSS
$custom: #7f1917;
$custom-light: #ac6054;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1917",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 23
  },
  "hsl": {
    "h": 1.154,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39136,
    "c": 0.13728,
    "h": 27.1
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#7F1917
secondary
#3EB1B4
accent
#E9EC3C
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120503
muted
#817978

Preview Lab

Preview with #7F1917

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

Preview Lab → · Contrast checker → · Palette generator →

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