#7F1618#7F1618

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

Color values

HEX#7F1618
RGBrgb(127, 22, 24)
HSLhsl(359, 70%, 29%)
HSVhsv(359, 83%, 50%)
CMYKcmyk(0%, 82.7%, 81.1%, 50.2%)
CIE-LABlab(27.17, 43.55, 27.86)
CIE-LCHlch(27.17, 51.70, 32.61°)
OKLaboklab(38.9% 0.1255 0.0609)
OKLCHoklch(38.9% 0.139 25.9)
XYZxyz(9.2053, 5.1533, 1.3740)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1618 #167F7D
analogous
#7F164D #7F1618 #7F4916
triadic
#7F1618 #187F16 #16187F
tetradic
#7F1618 #4D7F16 #167F7D #49167F
square
#7F1618 #4D7F16 #167F7D #49167F
split-complementary
#7F1618 #167F49 #164D7F
monochromatic
#1A0505 #4B0D0E #7F1618 #B31F22 #DC3437

Accessibility & contrast

On white

10.34
#7F1618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1618
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1618#FFFFFF#000000##FFFFFF
##7F16181.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383217
Deuteranopia (green-blind)
#514813
Tritanopia (blue-blind)
#8C0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1618;
/* rgb */ color: rgb(127, 22, 24);
/* oklch */ color: oklch(38.9% 0.139 25.9);
Tailwind
colors: {
  custom: {
    50: '#ac5f55',
    500: '#7f1618',
    950: '#000000',
  },
}
SCSS
$custom: #7f1618;
$custom-light: #ac5f55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1618",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 24
  },
  "hsl": {
    "h": 358.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38898,
    "c": 0.13948,
    "h": 25.9
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#7F1618
secondary
#3DB4B2
accent
#EDEA3B
background
#FBF5F4
surface
#F6EAE8
border
#D0C6C4
text
#120503
muted
#817978

Preview Lab

Preview with #7F1618

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

Preview Lab → · Contrast checker → · Palette generator →

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