#7F1E22#7F1E22

#7F1E22 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.132 H 23.5°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7F1E22
RGBrgb(127, 30, 34)
HSLhsl(358, 62%, 31%)
HSVhsv(358, 76%, 50%)
CMYKcmyk(0%, 76.4%, 73.2%, 50.2%)
CIE-LABlab(28.27, 41.29, 22.81)
CIE-LCHlch(28.27, 47.17, 28.92°)
OKLaboklab(39.76% 0.1206 0.0525)
OKLCHoklch(39.76% 0.132 23.5)
XYZxyz(9.5065, 5.5575, 2.0852)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E22 #1E7F7B
analogous
#7F1E52 #7F1E22 #7F4A1E
triadic
#7F1E22 #227F1E #1E227F
tetradic
#7F1E22 #527F1E #1E7F7B #4A1E7F
square
#7F1E22 #527F1E #1E7F7B #4A1E7F
split-complementary
#7F1E22 #1E7F4A #1E527F
monochromatic
#1C0707 #4D1215 #7F1E22 #B12A2F #D3444A

Accessibility & contrast

On white

9.95
#7F1E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E22
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E22#FFFFFF#000000##FFFFFF
##7F1E221.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3521
Deuteranopia (green-blind)
#534A1F
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1e22;
/* rgb */ color: rgb(127, 30, 34);
/* oklch */ color: oklch(39.8% 0.132 23.5);
Tailwind
colors: {
  custom: {
    50: '#ab625d',
    500: '#7f1e22',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e22;
$custom-light: #ab625d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e22",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 34
  },
  "hsl": {
    "h": 357.526,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.13154,
    "h": 23.5
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#7F1E22
secondary
#47B2AE
accent
#E5DE43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F1E22

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

Preview Lab → · Contrast checker → · Palette generator →

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