#7F1220#7F1220

#7F1220 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.7% C 0.142 H 21.2°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#7F1220
RGBrgb(127, 18, 32)
HSLhsl(352, 75%, 28%)
HSVhsv(352, 86%, 50%)
CMYKcmyk(0%, 85.8%, 74.8%, 50.2%)
CIE-LABlab(26.88, 45.01, 22.46)
CIE-LCHlch(26.88, 50.30, 26.53°)
OKLaboklab(38.72% 0.132 0.0513)
OKLCHoklch(38.72% 0.142 21.2)
XYZxyz(9.2305, 5.0504, 1.8550)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1220 #127F71
analogous
#7F1256 #7F1220 #7F3B12
triadic
#7F1220 #207F12 #12207F
tetradic
#7F1220 #567F12 #127F71 #3B127F
square
#7F1220 #567F12 #127F71 #3B127F
split-complementary
#7F1220 #127F3B #12567F
monochromatic
#1B0407 #490A12 #7F1220 #B51A2E #E12B42

Accessibility & contrast

On white

10.45
#7F1220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7F1220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1220
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1220#FFFFFF#000000##FFFFFF
##7F12201.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353120
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#8C0019
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1220;
/* rgb */ color: rgb(127, 18, 32);
/* oklch */ color: oklch(38.7% 0.142 21.2);
Tailwind
colors: {
  custom: {
    50: '#ac5e5b',
    500: '#7f1220',
    950: '#000000',
  },
}
SCSS
$custom: #7f1220;
$custom-light: #ac5e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1220",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 32
  },
  "hsl": {
    "h": 352.294,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38718,
    "c": 0.14163,
    "h": 21.2
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#7F1220
secondary
#38B5A5
accent
#F2DA36
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #7F1220

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

Preview Lab → · Contrast checker → · Palette generator →

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