#7F181D#7F181D

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

Color values

HEX#7F181D
RGBrgb(127, 24, 29)
HSLhsl(357, 68%, 30%)
HSVhsv(357, 81%, 50%)
CMYKcmyk(0%, 81.1%, 77.2%, 50.2%)
CIE-LABlab(27.45, 43.13, 25.06)
CIE-LCHlch(27.45, 49.88, 30.16°)
OKLaboklab(39.13% 0.1253 0.0563)
OKLCHoklch(39.13% 0.137 24.2)
XYZxyz(9.3019, 5.2555, 1.6868)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F181D #187F7A
analogous
#7F1851 #7F181D #7F4618
triadic
#7F181D #1D7F18 #181D7F
tetradic
#7F181D #517F18 #187F7A #46187F
square
#7F181D #517F18 #187F7A #46187F
split-complementary
#7F181D #187F46 #18517F
monochromatic
#1A0506 #4C0E11 #7F181D #B22229 #D93840

Accessibility & contrast

On white

10.24
#7F181D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F181D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F181D#FFFFFF#000000##FFFFFF
##7F181D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331C
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f181d;
/* rgb */ color: rgb(127, 24, 29);
/* oklch */ color: oklch(39.1% 0.137 24.2);
Tailwind
colors: {
  custom: {
    50: '#ac6059',
    500: '#7f181d',
    950: '#000000',
  },
}
SCSS
$custom: #7f181d;
$custom-light: #ac6059;
$custom-dark: #000000;
JSON
{
  "hex": "#7f181d",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 29
  },
  "hsl": {
    "h": 357.087,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39129,
    "c": 0.13736,
    "h": 24.2
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#7F181D
secondary
#3FB3AE
accent
#EBE33D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120503
muted
#817978

Preview Lab

Preview with #7F181D

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

Preview Lab → · Contrast checker → · Palette generator →

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