#7F221C#7F221C

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

Color values

HEX#7F221C
RGBrgb(127, 34, 28)
HSLhsl(4, 64%, 30%)
HSVhsv(4, 78%, 50%)
CMYKcmyk(0%, 73.2%, 78%, 50.2%)
CIE-LABlab(28.75, 39.44, 27.12)
CIE-LCHlch(28.75, 47.86, 34.52°)
OKLaboklab(40.09% 0.1134 0.0605)
OKLCHoklch(40.09% 0.129 28.1)
XYZxyz(9.5351, 5.7414, 1.7045)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F221C #1C797F
analogous
#7F1C48 #7F221C #7F531C
triadic
#7F221C #1C7F22 #221C7F
tetradic
#7F221C #487F1C #1C797F #531C7F
square
#7F221C #487F1C #1C797F #531C7F
split-complementary
#7F221C #1C7F53 #1C487F
monochromatic
#1B0706 #4D1511 #7F221C #B12F27 #D54940

Accessibility & contrast

On white

9.78
#7F221C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F221C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F221C#FFFFFF#000000##FFFFFF
##7F221C1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371A
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f221c;
/* rgb */ color: rgb(127, 34, 28);
/* oklch */ color: oklch(40.1% 0.129 28.1);
Tailwind
colors: {
  custom: {
    50: '#ac6458',
    500: '#7f221c',
    950: '#000000',
  },
}
SCSS
$custom: #7f221c;
$custom-light: #ac6458;
$custom-dark: #000000;
JSON
{
  "hex": "#7f221c",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 28
  },
  "hsl": {
    "h": 3.636,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40093,
    "c": 0.12854,
    "h": 28.1
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#7F221C
secondary
#44ACB3
accent
#DDE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F221C

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

Preview Lab → · Contrast checker → · Palette generator →

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