#7F1523#7F1523

#7F1523 is a dark, vivid red. Relative luminance 0.052; OKLCH L 39.0% C 0.139 H 20.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7F1523
RGBrgb(127, 21, 35)
HSLhsl(352, 72%, 29%)
HSVhsv(352, 83%, 50%)
CMYKcmyk(0%, 83.5%, 72.4%, 50.2%)
CIE-LABlab(27.22, 44.33, 20.90)
CIE-LCHlch(27.22, 49.01, 25.25°)
OKLaboklab(38.98% 0.1306 0.0484)
OKLCHoklch(38.98% 0.139 20.3)
XYZxyz(9.3250, 5.1712, 2.0969)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1523 #157F71
analogous
#7F1558 #7F1523 #7F3C15
triadic
#7F1523 #237F15 #15237F
tetradic
#7F1523 #587F15 #157F71 #3C157F
square
#7F1523 #587F15 #157F71 #3C157F
split-complementary
#7F1523 #157F3C #15587F
monochromatic
#1A0407 #4A0C15 #7F1523 #B41E31 #DD3148

Accessibility & contrast

On white

10.32
#7F1523 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F1523 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1523
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1523#FFFFFF#000000##FFFFFF
##7F15231.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363223
Deuteranopia (green-blind)
#504820
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f1523;
/* rgb */ color: rgb(127, 21, 35);
/* oklch */ color: oklch(39.0% 0.139 20.3);
Tailwind
colors: {
  custom: {
    50: '#ac5f5d',
    500: '#7f1523',
    950: '#000000',
  },
}
SCSS
$custom: #7f1523;
$custom-light: #ac5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1523",
  "rgb": {
    "r": 127,
    "g": 21,
    "b": 35
  },
  "hsl": {
    "h": 352.075,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.13926,
    "h": 20.3
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#7F1523
secondary
#3CB4A4
accent
#EED639
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1523

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

Preview Lab → · Contrast checker → · Palette generator →

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