#7D1564#7D1564

#7D1564 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.159 H 340.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#7D1564
RGBrgb(125, 21, 100)
HSLhsl(314, 71%, 29%)
HSVhsv(314, 83%, 49%)
CMYKcmyk(0%, 83.2%, 20%, 51%)
CIE-LABlab(28.95, 50.12, -19.96)
CIE-LCHlch(28.95, 53.94, 338.29°)
OKLaboklab(40.87% 0.1499 -0.0539)
OKLCHoklch(40.87% 0.159 340.2)
XYZxyz(11.0262, 5.8175, 12.5963)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1564 #157D2E
analogous
#62157D #7D1564 #7D1530
triadic
#7D1564 #647D15 #15647D
tetradic
#7D1564 #7D6215 #157D2E #15307D
square
#7D1564 #7D6215 #157D2E #15307D
split-complementary
#7D1564 #307D15 #157D62
monochromatic
#1A0415 #490C3A #7D1564 #B11E8E #DC30B3

Accessibility & contrast

On white

9.71
#7D1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1564
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1564#FFFFFF#000000##FFFFFF
##7D15641.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A66
Deuteranopia (green-blind)
#414A62
Tritanopia (blue-blind)
#85193C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1564;
/* rgb */ color: rgb(125, 21, 100);
/* oklch */ color: oklch(40.9% 0.159 340.2);
Tailwind
colors: {
  custom: {
    50: '#a66190',
    500: '#7d1564',
    950: '#000000',
  },
}
SCSS
$custom: #7d1564;
$custom-light: #a66190;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1564",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 314.423,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.15932,
    "h": 340.2
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#7D1564
secondary
#3CB258
accent
#EE653A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D1564

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

Preview Lab → · Contrast checker → · Palette generator →

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