#7F1D2D#7F1D2D

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

Color values

HEX#7F1D2D
RGBrgb(127, 29, 45)
HSLhsl(350, 63%, 31%)
HSVhsv(350, 77%, 50%)
CMYKcmyk(0%, 77.2%, 64.6%, 50.2%)
CIE-LABlab(28.33, 42.30, 15.69)
CIE-LCHlch(28.33, 45.12, 20.35°)
OKLaboklab(39.87% 0.1264 0.038)
OKLCHoklch(39.87% 0.132 16.7)
XYZxyz(9.6664, 5.5816, 3.0505)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D2D #1D7F6F
analogous
#7F1D5E #7F1D2D #7F3E1D
triadic
#7F1D2D #2D7F1D #1D2D7F
tetradic
#7F1D2D #5E7F1D #1D7F6F #3E1D7F
square
#7F1D2D #5E7F1D #1D7F6F #3E1D7F
split-complementary
#7F1D2D #1D7F3E #1D5E7F
monochromatic
#1B060A #4D121B #7F1D2D #B1283F #D4425A

Accessibility & contrast

On white

9.92
#7F1D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1D2D
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D2D#FFFFFF#000000##FFFFFF
##7F1D2D1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362D
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1d2d;
/* rgb */ color: rgb(127, 29, 45);
/* oklch */ color: oklch(39.9% 0.132 16.7);
Tailwind
colors: {
  custom: {
    50: '#aa6265',
    500: '#7f1d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d2d;
$custom-light: #aa6265;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d2d",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 350.204,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.13193,
    "h": 16.7
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#7F1D2D
secondary
#45B2A1
accent
#E6CB42
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F1D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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