#7F1D2B#7F1D2B

#7F1D2B is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.132 H 18.0°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7F1D2B
RGBrgb(127, 29, 43)
HSLhsl(351, 63%, 31%)
HSVhsv(351, 77%, 50%)
CMYKcmyk(0%, 77.2%, 66.1%, 50.2%)
CIE-LABlab(28.29, 42.17, 16.96)
CIE-LCHlch(28.29, 45.46, 21.91°)
OKLaboklab(39.83% 0.1255 0.0407)
OKLCHoklch(39.83% 0.132 18)
XYZxyz(9.6288, 5.5666, 2.8525)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D2B #1D7F71
analogous
#7F1D5C #7F1D2B #7F401D
triadic
#7F1D2B #2B7F1D #1D2B7F
tetradic
#7F1D2B #5C7F1D #1D7F71 #401D7F
square
#7F1D2B #5C7F1D #1D7F71 #401D7F
split-complementary
#7F1D2B #1D7F40 #1D5C7F
monochromatic
#1B0609 #4D121A #7F1D2B #B1283C #D44257

Accessibility & contrast

On white

9.94
#7F1D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7F1D2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D2B
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D2B#FFFFFF#000000##FFFFFF
##7F1D2B1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362B
Deuteranopia (green-blind)
#514A28
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1d2b;
/* rgb */ color: rgb(127, 29, 43);
/* oklch */ color: oklch(39.8% 0.132 18.0);
Tailwind
colors: {
  custom: {
    50: '#ab6264',
    500: '#7f1d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d2b;
$custom-light: #ab6264;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d2b",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 43
  },
  "hsl": {
    "h": 351.429,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39827,
    "c": 0.13193,
    "h": 18
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#7F1D2B
secondary
#45B2A3
accent
#E6CE42
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7F1D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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