#7F201B#7F201B

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

Color values

HEX#7F201B
RGBrgb(127, 32, 27)
HSLhsl(3, 65%, 30%)
HSVhsv(3, 79%, 50%)
CMYKcmyk(0%, 74.8%, 78.7%, 50.2%)
CIE-LABlab(28.45, 40.19, 27.40)
CIE-LCHlch(28.45, 48.65, 34.28°)
OKLaboklab(39.86% 0.1156 0.0608)
OKLCHoklch(39.86% 0.131 27.8)
XYZxyz(9.4678, 5.6256, 1.6240)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F201B #1B7A7F
analogous
#7F1B48 #7F201B #7F521B
triadic
#7F201B #1B7F20 #201B7F
tetradic
#7F201B #487F1B #1B7A7F #521B7F
square
#7F201B #487F1B #1B7A7F #521B7F
split-complementary
#7F201B #1B7F52 #1B487F
monochromatic
#1A0706 #4D1310 #7F201B #B12D26 #D6463E

Accessibility & contrast

On white

9.88
#7F201B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F201B
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F201B#FFFFFF#000000##FFFFFF
##7F201B1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3619
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f201b;
/* rgb */ color: rgb(127, 32, 27);
/* oklch */ color: oklch(39.9% 0.131 27.8);
Tailwind
colors: {
  custom: {
    50: '#ac6358',
    500: '#7f201b',
    950: '#000000',
  },
}
SCSS
$custom: #7f201b;
$custom-light: #ac6358;
$custom-dark: #000000;
JSON
{
  "hex": "#7f201b",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 27
  },
  "hsl": {
    "h": 3,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.13061,
    "h": 27.8
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#7F201B
secondary
#43ADB3
accent
#E0E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F201B

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

Preview Lab → · Contrast checker → · Palette generator →

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