#7F1824#7F1824

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

Color values

HEX#7F1824
RGBrgb(127, 24, 36)
HSLhsl(353, 68%, 30%)
HSVhsv(353, 81%, 50%)
CMYKcmyk(0%, 81.1%, 71.7%, 50.2%)
CIE-LABlab(27.56, 43.47, 20.66)
CIE-LCHlch(27.56, 48.13, 25.42°)
OKLaboklab(39.24% 0.1281 0.0481)
OKLCHoklch(39.24% 0.137 20.6)
XYZxyz(9.3985, 5.2941, 2.1957)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1824 #187F73
analogous
#7F1857 #7F1824 #7F4018
triadic
#7F1824 #247F18 #18247F
tetradic
#7F1824 #577F18 #187F73 #40187F
square
#7F1824 #577F18 #187F73 #40187F
split-complementary
#7F1824 #187F40 #18577F
monochromatic
#1A0507 #4C0E15 #7F1824 #B22233 #D9384B

Accessibility & contrast

On white

10.20
#7F1824 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1824 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1824
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1824#FFFFFF#000000##FFFFFF
##7F18241.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373324
Deuteranopia (green-blind)
#514921
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1824;
/* rgb */ color: rgb(127, 24, 36);
/* oklch */ color: oklch(39.2% 0.137 20.6);
Tailwind
colors: {
  custom: {
    50: '#ab605e',
    500: '#7f1824',
    950: '#000000',
  },
}
SCSS
$custom: #7f1824;
$custom-light: #ab605e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1824",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 36
  },
  "hsl": {
    "h": 353.01,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39242,
    "c": 0.13678,
    "h": 20.6
  },
  "luminance": 0.05293
}

Semantic roles & 50–950 ramp

primary
#7F1824
secondary
#3FB3A6
accent
#EBD73D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1824

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

Preview Lab → · Contrast checker → · Palette generator →

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