#7D156A#7D156A

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

Color values

HEX#7D156A
RGBrgb(125, 21, 106)
HSLhsl(311, 71%, 29%)
HSVhsv(311, 83%, 49%)
CMYKcmyk(0%, 83.2%, 15.2%, 51%)
CIE-LABlab(29.26, 50.99, -23.36)
CIE-LCHlch(29.26, 56.08, 335.39°)
OKLaboklab(41.19% 0.1505 -0.0636)
OKLCHoklch(41.19% 0.163 337.1)
XYZxyz(11.3274, 5.9380, 14.1825)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D156A #157D28
analogous
#5C157D #7D156A #7D1536
triadic
#7D156A #6A7D15 #156A7D
tetradic
#7D156A #7D5C15 #157D28 #15367D
square
#7D156A #7D5C15 #157D28 #15367D
split-complementary
#7D156A #367D15 #157D5C
monochromatic
#1A0416 #490C3E #7D156A #B11E96 #DC30BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D156A#FFFFFF#000000##FFFFFF
##7D156A1.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)
#193B6C
Deuteranopia (green-blind)
#3E4A68
Tritanopia (blue-blind)
#841D3F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d156a;
/* rgb */ color: rgb(125, 21, 106);
/* oklch */ color: oklch(41.2% 0.163 337.1);
Tailwind
colors: {
  custom: {
    50: '#a66195',
    500: '#7d156a',
    950: '#000000',
  },
}
SCSS
$custom: #7d156a;
$custom-light: #a66195;
$custom-dark: #000000;
JSON
{
  "hex": "#7d156a",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 310.962,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.16344,
    "h": 337.1
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

primary
#7D156A
secondary
#3CB251
accent
#EE5B3A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D156A

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

Preview Lab → · Contrast checker → · Palette generator →

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