#7F1D24#7F1D24

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

Color values

HEX#7F1D24
RGBrgb(127, 29, 36)
HSLhsl(356, 63%, 31%)
HSVhsv(356, 77%, 50%)
CMYKcmyk(0%, 77.2%, 71.7%, 50.2%)
CIE-LABlab(28.17, 41.76, 21.40)
CIE-LCHlch(28.17, 46.92, 27.14°)
OKLaboklab(39.69% 0.1226 0.0497)
OKLCHoklch(39.69% 0.132 22.1)
XYZxyz(9.5113, 5.5196, 2.2333)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D24 #1D7F78
analogous
#7F1D55 #7F1D24 #7F471D
triadic
#7F1D24 #247F1D #1D247F
tetradic
#7F1D24 #557F1D #1D7F78 #471D7F
square
#7F1D24 #557F1D #1D7F78 #471D7F
split-complementary
#7F1D24 #1D7F47 #1D557F
monochromatic
#1B0608 #4D1216 #7F1D24 #B12832 #D4424D

Accessibility & contrast

On white

9.98
#7F1D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1D24
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D24#FFFFFF#000000##FFFFFF
##7F1D241.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3523
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1d24;
/* rgb */ color: rgb(127, 29, 36);
/* oklch */ color: oklch(39.7% 0.132 22.1);
Tailwind
colors: {
  custom: {
    50: '#ab625e',
    500: '#7f1d24',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d24;
$custom-light: #ab625e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d24",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 36
  },
  "hsl": {
    "h": 355.714,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.1323,
    "h": 22.1
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#7F1D24
secondary
#45B2AB
accent
#E6DA42
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7F1D24

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

Preview Lab → · Contrast checker → · Palette generator →

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