#7F201D#7F201D

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

Color values

HEX#7F201D
RGBrgb(127, 32, 29)
HSLhsl(2, 63%, 31%)
HSVhsv(2, 77%, 50%)
CMYKcmyk(0%, 74.8%, 77.2%, 50.2%)
CIE-LABlab(28.47, 40.28, 26.20)
CIE-LCHlch(28.47, 48.05, 33.04°)
OKLaboklab(39.89% 0.1163 0.0588)
OKLCHoklch(39.89% 0.13 26.8)
XYZxyz(9.4918, 5.6352, 1.7501)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F201D #1D7C7F
analogous
#7F1D4B #7F201D #7F511D
triadic
#7F201D #1D7F20 #201D7F
tetradic
#7F201D #4B7F1D #1D7C7F #511D7F
square
#7F201D #4B7F1D #1D7C7F #511D7F
split-complementary
#7F201D #1D7F51 #1D4B7F
monochromatic
#1B0706 #4D1312 #7F201D #B12D28 #D44742

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F201D#FFFFFF#000000##FFFFFF
##7F201D1.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)
#3C361C
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f201d;
/* rgb */ color: rgb(127, 32, 29);
/* oklch */ color: oklch(39.9% 0.130 26.8);
Tailwind
colors: {
  custom: {
    50: '#ac6359',
    500: '#7f201d',
    950: '#000000',
  },
}
SCSS
$custom: #7f201d;
$custom-light: #ac6359;
$custom-dark: #000000;
JSON
{
  "hex": "#7f201d",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 29
  },
  "hsl": {
    "h": 1.837,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3989,
    "c": 0.1303,
    "h": 26.8
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#7F201D
secondary
#45AFB2
accent
#E1E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F201D

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

Preview Lab → · Contrast checker → · Palette generator →

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