#7F1D2F#7F1D2F

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

Color values

HEX#7F1D2F
RGBrgb(127, 29, 47)
HSLhsl(349, 63%, 31%)
HSVhsv(349, 77%, 50%)
CMYKcmyk(0%, 77.2%, 63%, 50.2%)
CIE-LABlab(28.37, 42.44, 14.41)
CIE-LCHlch(28.37, 44.82, 18.76°)
OKLaboklab(39.91% 0.1272 0.0352)
OKLCHoklch(39.91% 0.132 15.5)
XYZxyz(9.7058, 5.5974, 3.2581)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D2F #1D7F6D
analogous
#7F1D60 #7F1D2F #7F3C1D
triadic
#7F1D2F #2F7F1D #1D2F7F
tetradic
#7F1D2F #607F1D #1D7F6D #3C1D7F
square
#7F1D2F #607F1D #1D7F6D #3C1D7F
split-complementary
#7F1D2F #1D7F3C #1D607F
monochromatic
#1B060A #4D121D #7F1D2F #B12841 #D4425D

Accessibility & contrast

On white

9.91
#7F1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F1D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D2F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D2F#FFFFFF#000000##FFFFFF
##7F1D2F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#514A2C
Tritanopia (blue-blind)
#8C0025
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1d2f;
/* rgb */ color: rgb(127, 29, 47);
/* oklch */ color: oklch(39.9% 0.132 15.5);
Tailwind
colors: {
  custom: {
    50: '#aa6267',
    500: '#7f1d2f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d2f;
$custom-light: #aa6267;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d2f",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 348.98,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39914,
    "c": 0.13197,
    "h": 15.5
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#7F1D2F
secondary
#45B29E
accent
#E6C842
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F1D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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