#7F221D#7F221D

#7F221D is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.128 H 27.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7F221D
RGBrgb(127, 34, 29)
HSLhsl(3, 63%, 31%)
HSVhsv(3, 77%, 50%)
CMYKcmyk(0%, 73.2%, 77.2%, 50.2%)
CIE-LABlab(28.76, 39.48, 26.53)
CIE-LCHlch(28.76, 47.57, 33.90°)
OKLaboklab(40.11% 0.1138 0.0595)
OKLCHoklch(40.11% 0.128 27.6)
XYZxyz(9.5473, 5.7462, 1.7686)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F221D #1D7A7F
analogous
#7F1D49 #7F221D #7F531D
triadic
#7F221D #1D7F22 #221D7F
tetradic
#7F221D #497F1D #1D7A7F #531D7F
square
#7F221D #497F1D #1D7A7F #531D7F
split-complementary
#7F221D #1D7F53 #1D497F
monochromatic
#1B0706 #4D1512 #7F221D #B12F28 #D44A42

Accessibility & contrast

On white

9.77
#7F221D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F221D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F221D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F221D#FFFFFF#000000##FFFFFF
##7F221D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f221d;
/* rgb */ color: rgb(127, 34, 29);
/* oklch */ color: oklch(40.1% 0.128 27.6);
Tailwind
colors: {
  custom: {
    50: '#ab6459',
    500: '#7f221d',
    950: '#000000',
  },
}
SCSS
$custom: #7f221d;
$custom-light: #ab6459;
$custom-dark: #000000;
JSON
{
  "hex": "#7f221d",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 29
  },
  "hsl": {
    "h": 3.061,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40106,
    "c": 0.12838,
    "h": 27.6
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#7F221D
secondary
#45ADB2
accent
#DEE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F221D

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

Preview Lab → · Contrast checker → · Palette generator →

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