#7F2020#7F2020

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

Color values

HEX#7F2020
RGBrgb(127, 32, 32)
HSLhsl(0, 60%, 31%)
HSVhsv(0, 75%, 50%)
CMYKcmyk(0%, 74.8%, 74.8%, 50.2%)
CIE-LABlab(28.51, 40.42, 24.38)
CIE-LCHlch(28.51, 47.20, 31.09°)
OKLaboklab(39.93% 0.1174 0.0555)
OKLCHoklch(39.93% 0.13 25.3)
XYZxyz(9.5307, 5.6508, 1.9551)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2020 #207F7F
analogous
#7F204F #7F2020 #7F4F20
triadic
#7F2020 #207F20 #20207F
tetradic
#7F2020 #4F7F20 #207F7F #4F207F
square
#7F2020 #4F7F20 #207F7F #4F207F
split-complementary
#7F2020 #207F4F #204F7F
monochromatic
#1D0707 #4E1414 #7F2020 #B02C2C #D14848

Accessibility & contrast

On white

9.86
#7F2020 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F2020 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2020
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2020#FFFFFF#000000##FFFFFF
##7F20201.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2020;
/* rgb */ color: rgb(127, 32, 32);
/* oklch */ color: oklch(39.9% 0.130 25.3);
Tailwind
colors: {
  custom: {
    50: '#ab635b',
    500: '#7f2020',
    950: '#000000',
  },
}
SCSS
$custom: #7f2020;
$custom-light: #ab635b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2020",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 32
  },
  "hsl": {
    "h": 0,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39933,
    "c": 0.12988,
    "h": 25.3
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#7F2020
secondary
#49B2B2
accent
#E3E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F2020

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

Preview Lab → · Contrast checker → · Palette generator →

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