#7F1726#7F1726

#7F1726 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.2% C 0.138 H 19.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#7F1726
RGBrgb(127, 23, 38)
HSLhsl(351, 69%, 29%)
HSVhsv(351, 82%, 50%)
CMYKcmyk(0%, 81.9%, 70.1%, 50.2%)
CIE-LABlab(27.48, 43.89, 19.25)
CIE-LCHlch(27.48, 47.92, 23.68°)
OKLaboklab(39.2% 0.1299 0.0452)
OKLCHoklch(39.2% 0.138 19.2)
XYZxyz(9.4097, 5.2662, 2.3544)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1726 #177F70
analogous
#7F175A #7F1726 #7F3C17
triadic
#7F1726 #267F17 #17267F
tetradic
#7F1726 #5A7F17 #177F70 #3C177F
square
#7F1726 #5A7F17 #177F70 #3C177F
split-complementary
#7F1726 #177F3C #175A7F
monochromatic
#1A0508 #4B0E16 #7F1726 #B32036 #DB364E

Accessibility & contrast

On white

10.23
#7F1726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7F1726 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1726
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1726#FFFFFF#000000##FFFFFF
##7F17261.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363326
Deuteranopia (green-blind)
#504923
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1726;
/* rgb */ color: rgb(127, 23, 38);
/* oklch */ color: oklch(39.2% 0.138 19.2);
Tailwind
colors: {
  custom: {
    50: '#ab5f60',
    500: '#7f1726',
    950: '#000000',
  },
}
SCSS
$custom: #7f1726;
$custom-light: #ab5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1726",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 38
  },
  "hsl": {
    "h": 351.346,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39196,
    "c": 0.13753,
    "h": 19.2
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#7F1726
secondary
#3EB4A3
accent
#ECD33C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1726

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

Preview Lab → · Contrast checker → · Palette generator →

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