#7F201E#7F201E

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

Color values

HEX#7F201E
RGBrgb(127, 32, 30)
HSLhsl(1, 62%, 31%)
HSVhsv(1, 76%, 50%)
CMYKcmyk(0%, 74.8%, 76.4%, 50.2%)
CIE-LABlab(28.49, 40.33, 25.60)
CIE-LCHlch(28.49, 47.76, 32.41°)
OKLaboklab(39.9% 0.1167 0.0577)
OKLCHoklch(39.9% 0.13 26.3)
XYZxyz(9.5043, 5.6402, 1.8163)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F201E #1E7D7F
analogous
#7F1E4C #7F201E #7F501E
triadic
#7F201E #1E7F20 #201E7F
tetradic
#7F201E #4C7F1E #1E7D7F #501E7F
square
#7F201E #4C7F1E #1E7D7F #501E7F
split-complementary
#7F201E #1E7F50 #1E4C7F
monochromatic
#1C0707 #4D1412 #7F201E #B12C2A #D34744

Accessibility & contrast

On white

9.87
#7F201E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F201E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F201E#FFFFFF#000000##FFFFFF
##7F201E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f201e;
/* rgb */ color: rgb(127, 32, 30);
/* oklch */ color: oklch(39.9% 0.130 26.3);
Tailwind
colors: {
  custom: {
    50: '#ab635a',
    500: '#7f201e',
    950: '#000000',
  },
}
SCSS
$custom: #7f201e;
$custom-light: #ab635a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f201e",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 30
  },
  "hsl": {
    "h": 1.237,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39904,
    "c": 0.13015,
    "h": 26.3
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#7F201E
secondary
#47B0B2
accent
#E2E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F201E

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

Preview Lab → · Contrast checker → · Palette generator →

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