#7F221E#7F221E

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

Color values

HEX#7F221E
RGBrgb(127, 34, 30)
HSLhsl(2, 62%, 31%)
HSVhsv(2, 76%, 50%)
CMYKcmyk(0%, 73.2%, 76.4%, 50.2%)
CIE-LABlab(28.78, 39.53, 25.93)
CIE-LCHlch(28.78, 47.27, 33.26°)
OKLaboklab(40.12% 0.1142 0.0584)
OKLCHoklch(40.12% 0.128 27.1)
XYZxyz(9.5598, 5.7513, 1.8348)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F221E #1E7B7F
analogous
#7F1E4A #7F221E #7F521E
triadic
#7F221E #1E7F22 #221E7F
tetradic
#7F221E #4A7F1E #1E7B7F #521E7F
square
#7F221E #4A7F1E #1E7B7F #521E7F
split-complementary
#7F221E #1E7F52 #1E4A7F
monochromatic
#1C0707 #4D1512 #7F221E #B12F2A #D34A44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F221E#FFFFFF#000000##FFFFFF
##7F221E1.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)
#3D371D
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#8C0122
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f221e;
/* rgb */ color: rgb(127, 34, 30);
/* oklch */ color: oklch(40.1% 0.128 27.1);
Tailwind
colors: {
  custom: {
    50: '#ab645a',
    500: '#7f221e',
    950: '#000000',
  },
}
SCSS
$custom: #7f221e;
$custom-light: #ab645a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f221e",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 30
  },
  "hsl": {
    "h": 2.474,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4012,
    "c": 0.12822,
    "h": 27.1
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#7F221E
secondary
#47AEB2
accent
#DEE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F221E

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

Preview Lab → · Contrast checker → · Palette generator →

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