#7F1624#7F1624

#7F1624 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.1% C 0.138 H 20.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7F1624
RGBrgb(127, 22, 36)
HSLhsl(352, 70%, 29%)
HSVhsv(352, 83%, 50%)
CMYKcmyk(0%, 82.7%, 71.7%, 50.2%)
CIE-LABlab(27.34, 44.08, 20.39)
CIE-LCHlch(27.34, 48.57, 24.82°)
OKLaboklab(39.08% 0.13 0.0475)
OKLCHoklch(39.08% 0.138 20.1)
XYZxyz(9.3588, 5.2147, 2.1825)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1624 #167F71
analogous
#7F1659 #7F1624 #7F3D16
triadic
#7F1624 #247F16 #16247F
tetradic
#7F1624 #597F16 #167F71 #3D167F
square
#7F1624 #597F16 #167F71 #3D167F
split-complementary
#7F1624 #167F3D #16597F
monochromatic
#1A0507 #4B0D15 #7F1624 #B31F33 #DC344A

Accessibility & contrast

On white

10.28
#7F1624 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1624
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1624#FFFFFF#000000##FFFFFF
##7F16241.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363224
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1624;
/* rgb */ color: rgb(127, 22, 36);
/* oklch */ color: oklch(39.1% 0.138 20.1);
Tailwind
colors: {
  custom: {
    50: '#ab5f5e',
    500: '#7f1624',
    950: '#000000',
  },
}
SCSS
$custom: #7f1624;
$custom-light: #ab5f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1624",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 36
  },
  "hsl": {
    "h": 352,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39079,
    "c": 0.13842,
    "h": 20.1
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#7F1624
secondary
#3DB4A4
accent
#EDD53B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1624

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

Preview Lab → · Contrast checker → · Palette generator →

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