#7F1722#7F1722

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

Color values

HEX#7F1722
RGBrgb(127, 23, 34)
HSLhsl(354, 69%, 29%)
HSVhsv(354, 82%, 50%)
CMYKcmyk(0%, 81.9%, 73.2%, 50.2%)
CIE-LABlab(27.41, 43.68, 21.79)
CIE-LCHlch(27.41, 48.81, 26.52°)
OKLaboklab(39.12% 0.1283 0.0502)
OKLCHoklch(39.12% 0.138 21.4)
XYZxyz(9.3486, 5.2418, 2.0326)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1722 #177F74
analogous
#7F1756 #7F1722 #7F4017
triadic
#7F1722 #227F17 #17227F
tetradic
#7F1722 #567F17 #177F74 #40177F
square
#7F1722 #567F17 #177F74 #40177F
split-complementary
#7F1722 #177F40 #17567F
monochromatic
#1A0507 #4B0E14 #7F1722 #B32030 #DB3647

Accessibility & contrast

On white

10.25
#7F1722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1722
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1722#FFFFFF#000000##FFFFFF
##7F17221.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373321
Deuteranopia (green-blind)
#51491F
Tritanopia (blue-blind)
#8C001C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f1722;
/* rgb */ color: rgb(127, 23, 34);
/* oklch */ color: oklch(39.1% 0.138 21.4);
Tailwind
colors: {
  custom: {
    50: '#ac5f5d',
    500: '#7f1722',
    950: '#000000',
  },
}
SCSS
$custom: #7f1722;
$custom-light: #ac5f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1722",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 34
  },
  "hsl": {
    "h": 353.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39124,
    "c": 0.13773,
    "h": 21.4
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#7F1722
secondary
#3EB4A7
accent
#ECD93C
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7F1722

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

Preview Lab → · Contrast checker → · Palette generator →

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