#7F1626#7F1626

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

Color values

HEX#7F1626
RGBrgb(127, 22, 38)
HSLhsl(351, 70%, 29%)
HSVhsv(351, 83%, 50%)
CMYKcmyk(0%, 82.7%, 70.1%, 50.2%)
CIE-LABlab(27.37, 44.19, 19.11)
CIE-LCHlch(27.37, 48.15, 23.39°)
OKLaboklab(39.12% 0.1309 0.0449)
OKLCHoklch(39.12% 0.138 18.9)
XYZxyz(9.3902, 5.2272, 2.3479)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1626 #167F6F
analogous
#7F165B #7F1626 #7F3B16
triadic
#7F1626 #267F16 #16267F
tetradic
#7F1626 #5B7F16 #167F6F #3B167F
square
#7F1626 #5B7F16 #167F6F #3B167F
split-complementary
#7F1626 #167F3B #165B7F
monochromatic
#1A0508 #4B0D16 #7F1626 #B31F36 #DC344D

Accessibility & contrast

On white

10.27
#7F1626 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1626
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1626#FFFFFF#000000##FFFFFF
##7F16261.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1626;
/* rgb */ color: rgb(127, 22, 38);
/* oklch */ color: oklch(39.1% 0.138 18.9);
Tailwind
colors: {
  custom: {
    50: '#ab5f60',
    500: '#7f1626',
    950: '#000000',
  },
}
SCSS
$custom: #7f1626;
$custom-light: #ab5f60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1626",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 38
  },
  "hsl": {
    "h": 350.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39116,
    "c": 0.13835,
    "h": 18.9
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#7F1626
secondary
#3DB4A2
accent
#EDD23B
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1626

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

Preview Lab → · Contrast checker → · Palette generator →

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