#7F1F22#7F1F22

#7F1F22 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.9% C 0.131 H 23.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7F1F22
RGBrgb(127, 31, 34)
HSLhsl(358, 61%, 31%)
HSVhsv(358, 76%, 50%)
CMYKcmyk(0%, 75.6%, 73.2%, 50.2%)
CIE-LABlab(28.40, 40.91, 22.98)
CIE-LCHlch(28.40, 46.92, 29.32°)
OKLaboklab(39.86% 0.1194 0.0528)
OKLCHoklch(39.86% 0.131 23.9)
XYZxyz(9.5322, 5.6089, 2.0938)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F22 #1F7F7C
analogous
#7F1F52 #7F1F22 #7F4C1F
triadic
#7F1F22 #227F1F #1F227F
tetradic
#7F1F22 #527F1F #1F7F7C #4C1F7F
square
#7F1F22 #527F1F #1F7F7C #4C1F7F
split-complementary
#7F1F22 #1F7F4C #1F527F
monochromatic
#1D0708 #4E1315 #7F1F22 #B02B2F #D2464B

Accessibility & contrast

On white

9.90
#7F1F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F22
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F22#FFFFFF#000000##FFFFFF
##7F1F221.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1f22;
/* rgb */ color: rgb(127, 31, 34);
/* oklch */ color: oklch(39.9% 0.131 23.9);
Tailwind
colors: {
  custom: {
    50: '#ab635d',
    500: '#7f1f22',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f22;
$custom-light: #ab635d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f22",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.125,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.1306,
    "h": 23.9
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#7F1F22
secondary
#48B2AF
accent
#E4DF44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F1F22

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

Preview Lab → · Contrast checker → · Palette generator →

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