#7F1822#7F1822

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

Color values

HEX#7F1822
RGBrgb(127, 24, 34)
HSLhsl(354, 68%, 30%)
HSVhsv(354, 81%, 50%)
CMYKcmyk(0%, 81.1%, 73.2%, 50.2%)
CIE-LABlab(27.52, 43.36, 21.93)
CIE-LCHlch(27.52, 48.59, 26.83°)
OKLaboklab(39.21% 0.1273 0.0505)
OKLCHoklch(39.21% 0.137 21.6)
XYZxyz(9.3688, 5.2823, 2.0393)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1822 #187F75
analogous
#7F1856 #7F1822 #7F4218
triadic
#7F1822 #227F18 #18227F
tetradic
#7F1822 #567F18 #187F75 #42187F
square
#7F1822 #567F18 #187F75 #42187F
split-complementary
#7F1822 #187F42 #18567F
monochromatic
#1A0507 #4C0E14 #7F1822 #B22230 #D93848

Accessibility & contrast

On white

10.21
#7F1822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1822
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1822#FFFFFF#000000##FFFFFF
##7F18221.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373321
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#8C001D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1822;
/* rgb */ color: rgb(127, 24, 34);
/* oklch */ color: oklch(39.2% 0.137 21.6);
Tailwind
colors: {
  custom: {
    50: '#ac605d',
    500: '#7f1822',
    950: '#000000',
  },
}
SCSS
$custom: #7f1822;
$custom-light: #ac605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1822",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 34
  },
  "hsl": {
    "h": 354.175,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39207,
    "c": 0.13691,
    "h": 21.6
  },
  "luminance": 0.05281
}

Semantic roles & 50–950 ramp

primary
#7F1822
secondary
#3FB3A8
accent
#EBDA3D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1822

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

Preview Lab → · Contrast checker → · Palette generator →

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