#7F1D2A#7F1D2A

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

Color values

HEX#7F1D2A
RGBrgb(127, 29, 42)
HSLhsl(352, 63%, 31%)
HSVhsv(352, 77%, 50%)
CMYKcmyk(0%, 77.2%, 66.9%, 50.2%)
CIE-LABlab(28.27, 42.11, 17.60)
CIE-LCHlch(28.27, 45.64, 22.69°)
OKLaboklab(39.81% 0.1251 0.042)
OKLCHoklch(39.81% 0.132 18.6)
XYZxyz(9.6107, 5.5594, 2.7570)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D2A #1D7F72
analogous
#7F1D5B #7F1D2A #7F411D
triadic
#7F1D2A #2A7F1D #1D2A7F
tetradic
#7F1D2A #5B7F1D #1D7F72 #411D7F
square
#7F1D2A #5B7F1D #1D7F72 #411D7F
split-complementary
#7F1D2A #1D7F41 #1D5B7F
monochromatic
#1B0609 #4D121A #7F1D2A #B1283A #D44256

Accessibility & contrast

On white

9.95
#7F1D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1D2A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D2A#FFFFFF#000000##FFFFFF
##7F1D2A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1d2a;
/* rgb */ color: rgb(127, 29, 42);
/* oklch */ color: oklch(39.8% 0.132 18.6);
Tailwind
colors: {
  custom: {
    50: '#ab6263',
    500: '#7f1d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d2a;
$custom-light: #ab6263;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d2a",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 352.041,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39807,
    "c": 0.13196,
    "h": 18.6
  },
  "luminance": 0.05558
}

Semantic roles & 50–950 ramp

primary
#7F1D2A
secondary
#45B2A4
accent
#E6D042
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7F1D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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