#7F1922#7F1922

#7F1922 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.3% C 0.136 H 21.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7F1922
RGBrgb(127, 25, 34)
HSLhsl(355, 67%, 30%)
HSVhsv(355, 80%, 50%)
CMYKcmyk(0%, 80.3%, 73.2%, 50.2%)
CIE-LABlab(27.64, 43.04, 22.07)
CIE-LCHlch(27.64, 48.37, 27.14°)
OKLaboklab(39.29% 0.1262 0.0508)
OKLCHoklch(39.29% 0.136 21.9)
XYZxyz(9.3898, 5.3242, 2.0463)
Luminance0.0532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1922 #197F76
analogous
#7F1955 #7F1922 #7F4319
triadic
#7F1922 #227F19 #19227F
tetradic
#7F1922 #557F19 #197F76 #43197F
square
#7F1922 #557F19 #197F76 #43197F
split-complementary
#7F1922 #197F43 #19557F
monochromatic
#1A0507 #4C0F14 #7F1922 #B22330 #D83A48

Accessibility & contrast

On white

10.17
#7F1922 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7F1922 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1922
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1922#FFFFFF#000000##FFFFFF
##7F19221.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1922;
/* rgb */ color: rgb(127, 25, 34);
/* oklch */ color: oklch(39.3% 0.136 21.9);
Tailwind
colors: {
  custom: {
    50: '#ab605d',
    500: '#7f1922',
    950: '#000000',
  },
}
SCSS
$custom: #7f1922;
$custom-light: #ab605d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1922",
  "rgb": {
    "r": 127,
    "g": 25,
    "b": 34
  },
  "hsl": {
    "h": 354.706,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39292,
    "c": 0.13606,
    "h": 21.9
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#7F1922
secondary
#41B3A9
accent
#EADB3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7F1922

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

Preview Lab → · Contrast checker → · Palette generator →

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