#7F1D4E#7F1D4E

#7F1D4E is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.140 H 354.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#7F1D4E
RGBrgb(127, 29, 78)
HSLhsl(330, 63%, 31%)
HSVhsv(330, 77%, 50%)
CMYKcmyk(0%, 77.2%, 38.6%, 50.2%)
CIE-LABlab(29.27, 45.31, -5.01)
CIE-LCHlch(29.27, 45.59, 353.70°)
OKLaboklab(40.86% 0.1391 -0.0126)
OKLCHoklch(40.86% 0.14 354.8)
XYZxyz(10.5676, 5.9421, 7.7967)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D4E #1D7F4E
analogous
#7F1D7F #7F1D4E #7F1D1D
triadic
#7F1D4E #4E7F1D #1D4E7F
tetradic
#7F1D4E #7F7F1D #1D7F4E #1D1D7F
square
#7F1D4E #7F7F1D #1D7F4E #1D1D7F
split-complementary
#7F1D4E #1D7F1D #1D7F7F
monochromatic
#1B0611 #4D122F #7F1D4E #B1286D #D4428B

Accessibility & contrast

On white

9.60
#7F1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1D4E
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D4E#FFFFFF#000000##FFFFFF
##7F1D4E1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#4B4C4C
Tritanopia (blue-blind)
#891233
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1d4e;
/* rgb */ color: rgb(127, 29, 78);
/* oklch */ color: oklch(40.9% 0.140 354.8);
Tailwind
colors: {
  custom: {
    50: '#a8637f',
    500: '#7f1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d4e;
$custom-light: #a8637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d4e",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 330,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40864,
    "c": 0.13966,
    "h": 354.8
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#7F1D4E
secondary
#45B27C
accent
#E69442
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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