#7F1D64#7F1D64

#7F1D64 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.152 H 341.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7F1D64
RGBrgb(127, 29, 100)
HSLhsl(317, 63%, 31%)
HSVhsv(317, 77%, 50%)
CMYKcmyk(0%, 77.2%, 21.3%, 50.2%)
CIE-LABlab(30.19, 48.17, -18.00)
CIE-LCHlch(30.19, 51.42, 339.51°)
OKLaboklab(41.84% 0.1444 -0.0484)
OKLCHoklch(41.84% 0.152 341.5)
XYZxyz(11.4924, 6.3120, 12.6672)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D64 #1D7F38
analogous
#691D7F #7F1D64 #7F1D33
triadic
#7F1D64 #647F1D #1D647F
tetradic
#7F1D64 #7F691D #1D7F38 #1D337F
square
#7F1D64 #7F691D #1D7F38 #1D337F
split-complementary
#7F1D64 #337F1D #1D7F69
monochromatic
#1B0616 #4D123D #7F1D64 #B1288B #D442AC

Accessibility & contrast

On white

9.28
#7F1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7F1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D64
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D64#FFFFFF#000000##FFFFFF
##7F1D641.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263D66
Deuteranopia (green-blind)
#454D62
Tritanopia (blue-blind)
#871F3E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f1d64;
/* rgb */ color: rgb(127, 29, 100);
/* oklch */ color: oklch(41.8% 0.152 341.5);
Tailwind
colors: {
  custom: {
    50: '#a86490',
    500: '#7f1d64',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d64;
$custom-light: #a86490;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d64",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 316.531,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41835,
    "c": 0.15231,
    "h": 341.5
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#7F1D64
secondary
#45B263
accent
#E66F42
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7F1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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