#7F181E#7F181E

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

Color values

HEX#7F181E
RGBrgb(127, 24, 30)
HSLhsl(357, 68%, 30%)
HSVhsv(357, 81%, 50%)
CMYKcmyk(0%, 81.1%, 76.4%, 50.2%)
CIE-LABlab(27.46, 43.17, 24.44)
CIE-LCHlch(27.46, 49.61, 29.51°)
OKLaboklab(39.14% 0.1257 0.0552)
OKLCHoklch(39.14% 0.137 23.7)
XYZxyz(9.3145, 5.2605, 1.7530)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F181E #187F79
analogous
#7F1852 #7F181E #7F4618
triadic
#7F181E #1E7F18 #181E7F
tetradic
#7F181E #527F18 #187F79 #46187F
square
#7F181E #527F18 #187F79 #46187F
split-complementary
#7F181E #187F46 #18527F
monochromatic
#1A0506 #4C0E12 #7F181E #B2222A #D93841

Accessibility & contrast

On white

10.23
#7F181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F181E
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F181E#FFFFFF#000000##FFFFFF
##7F181E1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#51491A
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f181e;
/* rgb */ color: rgb(127, 24, 30);
/* oklch */ color: oklch(39.1% 0.137 23.7);
Tailwind
colors: {
  custom: {
    50: '#ac605a',
    500: '#7f181e',
    950: '#000000',
  },
}
SCSS
$custom: #7f181e;
$custom-light: #ac605a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f181e",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 356.505,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39143,
    "c": 0.13726,
    "h": 23.7
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#7F181E
secondary
#3FB3AD
accent
#EBE13D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F181E

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

Preview Lab → · Contrast checker → · Palette generator →

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