#7F201C#7F201C

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

Color values

HEX#7F201C
RGBrgb(127, 32, 28)
HSLhsl(2, 64%, 30%)
HSVhsv(2, 78%, 50%)
CMYKcmyk(0%, 74.8%, 78%, 50.2%)
CIE-LABlab(28.46, 40.24, 26.81)
CIE-LCHlch(28.46, 48.35, 33.67°)
OKLaboklab(39.88% 0.1159 0.0598)
OKLCHoklch(39.88% 0.13 27.3)
XYZxyz(9.4796, 5.6303, 1.6860)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F201C #1C7B7F
analogous
#7F1C4A #7F201C #7F511C
triadic
#7F201C #1C7F20 #201C7F
tetradic
#7F201C #4A7F1C #1C7B7F #511C7F
square
#7F201C #4A7F1C #1C7B7F #511C7F
split-complementary
#7F201C #1C7F51 #1C4A7F
monochromatic
#1B0706 #4D1311 #7F201C #B12D27 #D54640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F201C#FFFFFF#000000##FFFFFF
##7F201C1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f201c;
/* rgb */ color: rgb(127, 32, 28);
/* oklch */ color: oklch(39.9% 0.130 27.3);
Tailwind
colors: {
  custom: {
    50: '#ac6358',
    500: '#7f201c',
    950: '#000000',
  },
}
SCSS
$custom: #7f201c;
$custom-light: #ac6358;
$custom-dark: #000000;
JSON
{
  "hex": "#7f201c",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 28
  },
  "hsl": {
    "h": 2.424,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39876,
    "c": 0.13045,
    "h": 27.3
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#7F201C
secondary
#44AEB3
accent
#E0E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F201C

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

Preview Lab → · Contrast checker → · Palette generator →

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