#7F1E23#7F1E23

#7F1E23 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.131 H 23.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7F1E23
RGBrgb(127, 30, 35)
HSLhsl(357, 62%, 31%)
HSVhsv(357, 76%, 50%)
CMYKcmyk(0%, 76.4%, 72.4%, 50.2%)
CIE-LABlab(28.28, 41.34, 22.19)
CIE-LCHlch(28.28, 46.92, 28.23°)
OKLaboklab(39.78% 0.121 0.0513)
OKLCHoklch(39.78% 0.131 23)
XYZxyz(9.5211, 5.5634, 2.1623)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E23 #1E7F7A
analogous
#7F1E53 #7F1E23 #7F491E
triadic
#7F1E23 #237F1E #1E237F
tetradic
#7F1E23 #537F1E #1E7F7A #491E7F
square
#7F1E23 #537F1E #1E7F7A #491E7F
split-complementary
#7F1E23 #1E7F49 #1E537F
monochromatic
#1C0708 #4D1215 #7F1E23 #B12A31 #D3444C

Accessibility & contrast

On white

9.94
#7F1E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1E23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E23
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E23#FFFFFF#000000##FFFFFF
##7F1E231.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3522
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1e23;
/* rgb */ color: rgb(127, 30, 35);
/* oklch */ color: oklch(39.8% 0.131 23.0);
Tailwind
colors: {
  custom: {
    50: '#ab625e',
    500: '#7f1e23',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e23;
$custom-light: #ab625e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e23",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 35
  },
  "hsl": {
    "h": 356.907,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39776,
    "c": 0.13144,
    "h": 23
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#7F1E23
secondary
#47B2AD
accent
#E5DD43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7F1E23

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

Preview Lab → · Contrast checker → · Palette generator →

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