#7F1820#7F1820

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

Color values

HEX#7F1820
RGBrgb(127, 24, 32)
HSLhsl(355, 68%, 30%)
HSVhsv(355, 81%, 50%)
CMYKcmyk(0%, 81.1%, 74.8%, 50.2%)
CIE-LABlab(27.49, 43.27, 23.19)
CIE-LCHlch(27.49, 49.09, 28.19°)
OKLaboklab(39.17% 0.1265 0.0529)
OKLCHoklch(39.17% 0.137 22.7)
XYZxyz(9.3408, 5.2710, 1.8918)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1820 #187F77
analogous
#7F1854 #7F1820 #7F4418
triadic
#7F1820 #207F18 #18207F
tetradic
#7F1820 #547F18 #187F77 #44187F
square
#7F1820 #547F18 #187F77 #44187F
split-complementary
#7F1820 #187F44 #18547F
monochromatic
#1A0506 #4C0E13 #7F1820 #B2222D #D93845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F1820#FFFFFF#000000##FFFFFF
##7F18201.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)
#38331F
Deuteranopia (green-blind)
#51491C
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1820;
/* rgb */ color: rgb(127, 24, 32);
/* oklch */ color: oklch(39.2% 0.137 22.7);
Tailwind
colors: {
  custom: {
    50: '#ac605b',
    500: '#7f1820',
    950: '#000000',
  },
}
SCSS
$custom: #7f1820;
$custom-light: #ac605b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1820",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 32
  },
  "hsl": {
    "h": 355.34,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.13707,
    "h": 22.7
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#7F1820
secondary
#3FB3AA
accent
#EBDE3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1820

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

Preview Lab → · Contrast checker → · Palette generator →

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