#7F201F#7F201F

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

Color values

HEX#7F201F
RGBrgb(127, 32, 31)
HSLhsl(1, 61%, 31%)
HSVhsv(1, 76%, 50%)
CMYKcmyk(0%, 74.8%, 75.6%, 50.2%)
CIE-LABlab(28.50, 40.37, 24.99)
CIE-LCHlch(28.50, 47.48, 31.75°)
OKLaboklab(39.92% 0.1171 0.0566)
OKLCHoklch(39.92% 0.13 25.8)
XYZxyz(9.5173, 5.6454, 1.8846)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F201F #1F7E7F
analogous
#7F1F4E #7F201F #7F501F
triadic
#7F201F #1F7F20 #201F7F
tetradic
#7F201F #4E7F1F #1F7E7F #501F7F
square
#7F201F #4E7F1F #1F7E7F #501F7F
split-complementary
#7F201F #1F7F50 #1F4E7F
monochromatic
#1D0707 #4E1413 #7F201F #B02C2B #D24846

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F201F#FFFFFF#000000##FFFFFF
##7F201F1.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)
#3C361E
Deuteranopia (green-blind)
#534B1C
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f201f;
/* rgb */ color: rgb(127, 32, 31);
/* oklch */ color: oklch(39.9% 0.130 25.8);
Tailwind
colors: {
  custom: {
    50: '#ab635b',
    500: '#7f201f',
    950: '#000000',
  },
}
SCSS
$custom: #7f201f;
$custom-light: #ab635b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f201f",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 0.625,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.13001,
    "h": 25.8
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#7F201F
secondary
#48B1B2
accent
#E2E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F201F

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

Preview Lab → · Contrast checker → · Palette generator →

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