#7F1F20#7F1F20

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

Color values

HEX#7F1F20
RGBrgb(127, 31, 32)
HSLhsl(359, 61%, 31%)
HSVhsv(359, 76%, 50%)
CMYKcmyk(0%, 75.6%, 74.8%, 50.2%)
CIE-LABlab(28.37, 40.81, 24.21)
CIE-LCHlch(28.37, 47.45, 30.68°)
OKLaboklab(39.83% 0.1187 0.0551)
OKLCHoklch(39.83% 0.131 24.9)
XYZxyz(9.5042, 5.5977, 1.9462)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F20 #1F7F7E
analogous
#7F1F50 #7F1F20 #7F4E1F
triadic
#7F1F20 #207F1F #1F207F
tetradic
#7F1F20 #507F1F #1F7F7E #4E1F7F
square
#7F1F20 #507F1F #1F7F7E #4E1F7F
split-complementary
#7F1F20 #1F7F4E #1F507F
monochromatic
#1D0707 #4E1314 #7F1F20 #B02B2C #D24648

Accessibility & contrast

On white

9.91
#7F1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1F20
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F20#FFFFFF#000000##FFFFFF
##7F1F201.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1f20;
/* rgb */ color: rgb(127, 31, 32);
/* oklch */ color: oklch(39.8% 0.131 24.9);
Tailwind
colors: {
  custom: {
    50: '#ab635b',
    500: '#7f1f20',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f20;
$custom-light: #ab635b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f20",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39829,
    "c": 0.13084,
    "h": 24.9
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#7F1F20
secondary
#48B2B1
accent
#E4E244
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F1F20

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

Preview Lab → · Contrast checker → · Palette generator →

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