#7F1D55#7F1D55

#7F1D55 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.143 H 350.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#7F1D55
RGBrgb(127, 29, 85)
HSLhsl(326, 63%, 31%)
HSVhsv(326, 77%, 50%)
CMYKcmyk(0%, 77.2%, 33.1%, 50.2%)
CIE-LABlab(29.53, 46.15, -9.22)
CIE-LCHlch(29.53, 47.07, 348.70°)
OKLaboklab(41.15% 0.1411 -0.024)
OKLCHoklch(41.15% 0.143 350.3)
XYZxyz(10.8321, 6.0479, 9.1895)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D55 #1D7F47
analogous
#781D7F #7F1D55 #7F1D24
triadic
#7F1D55 #557F1D #1D557F
tetradic
#7F1D55 #7F781D #1D7F47 #1D247F
square
#7F1D55 #7F781D #1D7F47 #1D247F
split-complementary
#7F1D55 #247F1D #1D7F78
monochromatic
#1B0612 #4D1234 #7F1D55 #B12876 #D44296

Accessibility & contrast

On white

9.50
#7F1D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F1D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D55
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D55#FFFFFF#000000##FFFFFF
##7F1D551.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3A56
Deuteranopia (green-blind)
#4A4C53
Tritanopia (blue-blind)
#891636
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1d55;
/* rgb */ color: rgb(127, 29, 85);
/* oklch */ color: oklch(41.1% 0.143 350.3);
Tailwind
colors: {
  custom: {
    50: '#a86384',
    500: '#7f1d55',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d55;
$custom-light: #a86384;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d55",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 85
  },
  "hsl": {
    "h": 325.714,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.14316,
    "h": 350.3
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#7F1D55
secondary
#45B274
accent
#E68842
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1D55

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

Preview Lab → · Contrast checker → · Palette generator →

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