#7F1D4D#7F1D4D

#7F1D4D is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.139 H 355.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7F1D4D
RGBrgb(127, 29, 77)
HSLhsl(331, 63%, 31%)
HSVhsv(331, 77%, 50%)
CMYKcmyk(0%, 77.2%, 39.4%, 50.2%)
CIE-LABlab(29.23, 45.20, -4.40)
CIE-LCHlch(29.23, 45.41, 354.44°)
OKLaboklab(40.83% 0.1388 -0.011)
OKLCHoklch(40.83% 0.139 355.5)
XYZxyz(10.5320, 5.9279, 7.6093)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D4D #1D7F4F
analogous
#7F1D7E #7F1D4D #7F1E1D
triadic
#7F1D4D #4D7F1D #1D4D7F
tetradic
#7F1D4D #7E7F1D #1D7F4F #1E1D7F
square
#7F1D4D #7E7F1D #1D7F4F #1E1D7F
split-complementary
#7F1D4D #1D7F1E #1D7E7F
monochromatic
#1B0611 #4D122F #7F1D4D #B1286B #D4428A

Accessibility & contrast

On white

9.61
#7F1D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F1D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D4D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D4D#FFFFFF#000000##FFFFFF
##7F1D4D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394E
Deuteranopia (green-blind)
#4C4B4B
Tritanopia (blue-blind)
#8A1132
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1d4d;
/* rgb */ color: rgb(127, 29, 77);
/* oklch */ color: oklch(40.8% 0.139 355.5);
Tailwind
colors: {
  custom: {
    50: '#a8637e',
    500: '#7f1d4d',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d4d;
$custom-light: #a8637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d4d",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 77
  },
  "hsl": {
    "h": 330.612,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40825,
    "c": 0.13922,
    "h": 355.5
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#7F1D4D
secondary
#45B27D
accent
#E69642
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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