#7F1620#7F1620

#7F1620 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 22.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#7F1620
RGBrgb(127, 22, 32)
HSLhsl(354, 70%, 29%)
HSVhsv(354, 83%, 50%)
CMYKcmyk(0%, 82.7%, 74.8%, 50.2%)
CIE-LABlab(27.27, 43.89, 22.93)
CIE-LCHlch(27.27, 49.51, 27.59°)
OKLaboklab(39.01% 0.1284 0.0523)
OKLCHoklch(39.01% 0.139 22.2)
XYZxyz(9.3011, 5.1916, 1.8786)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1620 #167F75
analogous
#7F1655 #7F1620 #7F4116
triadic
#7F1620 #207F16 #16207F
tetradic
#7F1620 #557F16 #167F75 #41167F
square
#7F1620 #557F16 #167F75 #41167F
split-complementary
#7F1620 #167F41 #16557F
monochromatic
#1A0507 #4B0D13 #7F1620 #B31F2D #DC3444

Accessibility & contrast

On white

10.30
#7F1620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7F1620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1620
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1620#FFFFFF#000000##FFFFFF
##7F16201.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321F
Deuteranopia (green-blind)
#51481C
Tritanopia (blue-blind)
#8C001B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1620;
/* rgb */ color: rgb(127, 22, 32);
/* oklch */ color: oklch(39.0% 0.139 22.2);
Tailwind
colors: {
  custom: {
    50: '#ac5f5b',
    500: '#7f1620',
    950: '#000000',
  },
}
SCSS
$custom: #7f1620;
$custom-light: #ac5f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1620",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 32
  },
  "hsl": {
    "h": 354.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39011,
    "c": 0.13868,
    "h": 22.2
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#7F1620
secondary
#3DB4A8
accent
#EDDC3B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #7F1620

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

Preview Lab → · Contrast checker → · Palette generator →

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