#7F201A#7F201A

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

Color values

HEX#7F201A
RGBrgb(127, 32, 26)
HSLhsl(4, 66%, 30%)
HSVhsv(4, 80%, 50%)
CMYKcmyk(0%, 74.8%, 79.5%, 50.2%)
CIE-LABlab(28.44, 40.15, 28.00)
CIE-LCHlch(28.44, 48.95, 34.88°)
OKLaboklab(39.85% 0.1152 0.0618)
OKLCHoklch(39.85% 0.131 28.2)
XYZxyz(9.4565, 5.6211, 1.5641)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F201A #1A797F
analogous
#7F1A47 #7F201A #7F521A
triadic
#7F201A #1A7F20 #201A7F
tetradic
#7F201A #477F1A #1A797F #521A7F
square
#7F201A #477F1A #1A797F #521A7F
split-complementary
#7F201A #1A7F52 #1A477F
monochromatic
#190605 #4C1310 #7F201A #B22D24 #D7453C

Accessibility & contrast

On white

9.89
#7F201A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F201A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F201A#FFFFFF#000000##FFFFFF
##7F201A1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f201a;
/* rgb */ color: rgb(127, 32, 26);
/* oklch */ color: oklch(39.9% 0.131 28.2);
Tailwind
colors: {
  custom: {
    50: '#ac6357',
    500: '#7f201a',
    950: '#000000',
  },
}
SCSS
$custom: #7f201a;
$custom-light: #ac6357;
$custom-dark: #000000;
JSON
{
  "hex": "#7f201a",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 26
  },
  "hsl": {
    "h": 3.564,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.13077,
    "h": 28.2
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#7F201A
secondary
#42ACB3
accent
#DFE93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F201A

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

Preview Lab → · Contrast checker → · Palette generator →

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