#7F1D23#7F1D23

#7F1D23 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.132 H 22.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7F1D23
RGBrgb(127, 29, 35)
HSLhsl(356, 63%, 31%)
HSVhsv(356, 77%, 50%)
CMYKcmyk(0%, 77.2%, 72.4%, 50.2%)
CIE-LABlab(28.15, 41.71, 22.03)
CIE-LCHlch(28.15, 47.17, 27.84°)
OKLaboklab(39.68% 0.1222 0.0509)
OKLCHoklch(39.68% 0.132 22.6)
XYZxyz(9.4962, 5.5136, 2.1540)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D23 #1D7F79
analogous
#7F1D54 #7F1D23 #7F481D
triadic
#7F1D23 #237F1D #1D237F
tetradic
#7F1D23 #547F1D #1D7F79 #481D7F
square
#7F1D23 #547F1D #1D7F79 #481D7F
split-complementary
#7F1D23 #1D7F48 #1D547F
monochromatic
#1B0608 #4D1215 #7F1D23 #B12831 #D4424B

Accessibility & contrast

On white

9.99
#7F1D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D23
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D23#FFFFFF#000000##FFFFFF
##7F1D231.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3522
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1d23;
/* rgb */ color: rgb(127, 29, 35);
/* oklch */ color: oklch(39.7% 0.132 22.6);
Tailwind
colors: {
  custom: {
    50: '#ab625d',
    500: '#7f1d23',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d23;
$custom-light: #ab625d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d23",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 356.327,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39677,
    "c": 0.13238,
    "h": 22.6
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#7F1D23
secondary
#45B2AC
accent
#E6DC42
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110504
muted
#807A79

Preview Lab

Preview with #7F1D23

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

Preview Lab → · Contrast checker → · Palette generator →

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