#7F1D49#7F1D49

#7F1D49 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.138 H 358.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7F1D49
RGBrgb(127, 29, 73)
HSLhsl(333, 63%, 31%)
HSVhsv(333, 77%, 50%)
CMYKcmyk(0%, 77.2%, 42.5%, 50.2%)
CIE-LABlab(29.09, 44.76, -1.95)
CIE-LCHlch(29.09, 44.80, 357.50°)
OKLaboklab(40.68% 0.1375 -0.0046)
OKLCHoklch(40.68% 0.138 358.1)
XYZxyz(10.3951, 5.8731, 6.8883)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D49 #1D7F53
analogous
#7F1D7A #7F1D49 #7F221D
triadic
#7F1D49 #497F1D #1D497F
tetradic
#7F1D49 #7A7F1D #1D7F53 #221D7F
square
#7F1D49 #7A7F1D #1D7F53 #221D7F
split-complementary
#7F1D49 #1D7F22 #1D7A7F
monochromatic
#1B0610 #4D122C #7F1D49 #B12866 #D44284

Accessibility & contrast

On white

9.66
#7F1D49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1D49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D49
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D49#FFFFFF#000000##FFFFFF
##7F1D491.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394A
Deuteranopia (green-blind)
#4D4B47
Tritanopia (blue-blind)
#8A0F30
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1d49;
/* rgb */ color: rgb(127, 29, 73);
/* oklch */ color: oklch(40.7% 0.138 358.1);
Tailwind
colors: {
  custom: {
    50: '#a9637b',
    500: '#7f1d49',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d49;
$custom-light: #a9637b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d49",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 73
  },
  "hsl": {
    "h": 333.061,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40677,
    "c": 0.13753,
    "h": 358.1
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#7F1D49
secondary
#45B281
accent
#E69C42
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7F1D49

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

Preview Lab → · Contrast checker → · Palette generator →

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