#7F1423#7F1423

#7F1423 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.140 H 20.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7F1423
RGBrgb(127, 20, 35)
HSLhsl(352, 73%, 29%)
HSVhsv(352, 84%, 50%)
CMYKcmyk(0%, 84.3%, 72.4%, 50.2%)
CIE-LABlab(27.12, 44.61, 20.78)
CIE-LCHlch(27.12, 49.21, 24.98°)
OKLaboklab(38.91% 0.1315 0.0482)
OKLCHoklch(38.91% 0.14 20.1)
XYZxyz(9.3070, 5.1352, 2.0909)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1423 #147F70
analogous
#7F1459 #7F1423 #7F3B14
triadic
#7F1423 #237F14 #14237F
tetradic
#7F1423 #597F14 #147F70 #3B147F
square
#7F1423 #597F14 #147F70 #3B147F
split-complementary
#7F1423 #147F3B #14597F
monochromatic
#1A0407 #4A0C14 #7F1423 #B41C32 #DE2F48

Accessibility & contrast

On white

10.36
#7F1423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1423
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1423#FFFFFF#000000##FFFFFF
##7F14231.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1423;
/* rgb */ color: rgb(127, 20, 35);
/* oklch */ color: oklch(38.9% 0.140 20.1);
Tailwind
colors: {
  custom: {
    50: '#ac5e5d',
    500: '#7f1423',
    950: '#000000',
  },
}
SCSS
$custom: #7f1423;
$custom-light: #ac5e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1423",
  "rgb": {
    "r": 127,
    "g": 20,
    "b": 35
  },
  "hsl": {
    "h": 351.589,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.14002,
    "h": 20.1
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#7F1423
secondary
#3BB4A3
accent
#EFD638
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1423

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

Preview Lab → · Contrast checker → · Palette generator →

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