#7F1D22#7F1D22

#7F1D22 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.132 H 23.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7F1D22
RGBrgb(127, 29, 34)
HSLhsl(357, 63%, 31%)
HSVhsv(357, 77%, 50%)
CMYKcmyk(0%, 77.2%, 73.2%, 50.2%)
CIE-LABlab(28.13, 41.66, 22.66)
CIE-LCHlch(28.13, 47.42, 28.54°)
OKLaboklab(39.66% 0.1218 0.0521)
OKLCHoklch(39.66% 0.132 23.2)
XYZxyz(9.4816, 5.5077, 2.0769)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D22 #1D7F7A
analogous
#7F1D53 #7F1D22 #7F491D
triadic
#7F1D22 #227F1D #1D227F
tetradic
#7F1D22 #537F1D #1D7F7A #491D7F
square
#7F1D22 #537F1D #1D7F7A #491D7F
split-complementary
#7F1D22 #1D7F49 #1D537F
monochromatic
#1B0607 #4D1215 #7F1D22 #B1282F #D4424A

Accessibility & contrast

On white

9.99
#7F1D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D22
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D22#FFFFFF#000000##FFFFFF
##7F1D221.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3521
Deuteranopia (green-blind)
#524A1F
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1d22;
/* rgb */ color: rgb(127, 29, 34);
/* oklch */ color: oklch(39.7% 0.132 23.2);
Tailwind
colors: {
  custom: {
    50: '#ab625d',
    500: '#7f1d22',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d22;
$custom-light: #ab625d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d22",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 34
  },
  "hsl": {
    "h": 356.939,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.13249,
    "h": 23.2
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#7F1D22
secondary
#45B2AD
accent
#E6DE42
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7F1D22

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

Preview Lab → · Contrast checker → · Palette generator →

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