#7D156B#7D156B

#7D156B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.164 H 336.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7D156B
RGBrgb(125, 21, 107)
HSLhsl(310, 71%, 29%)
HSVhsv(310, 83%, 49%)
CMYKcmyk(0%, 83.2%, 14.4%, 51%)
CIE-LABlab(29.31, 51.14, -23.92)
CIE-LCHlch(29.31, 56.45, 334.94°)
OKLaboklab(41.25% 0.1506 -0.0652)
OKLCHoklch(41.25% 0.164 336.6)
XYZxyz(11.3797, 5.9589, 14.4579)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D156B #157D27
analogous
#5B157D #7D156B #7D1537
triadic
#7D156B #6B7D15 #156B7D
tetradic
#7D156B #7D5B15 #157D27 #15377D
square
#7D156B #7D5B15 #157D27 #15377D
split-complementary
#7D156B #377D15 #157D5B
monochromatic
#1A0416 #490C3E #7D156B #B11E98 #DC30BE

Accessibility & contrast

On white

9.58
#7D156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D156B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D156B#FFFFFF#000000##FFFFFF
##7D156B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183B6D
Deuteranopia (green-blind)
#3E4B69
Tritanopia (blue-blind)
#841D40
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d156b;
/* rgb */ color: rgb(125, 21, 107);
/* oklch */ color: oklch(41.2% 0.164 336.6);
Tailwind
colors: {
  custom: {
    50: '#a66195',
    500: '#7d156b',
    950: '#000000',
  },
}
SCSS
$custom: #7d156b;
$custom-light: #a66195;
$custom-dark: #000000;
JSON
{
  "hex": "#7d156b",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 310.385,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41247,
    "c": 0.16414,
    "h": 336.6
  },
  "luminance": 0.05958
}

Semantic roles & 50–950 ramp

primary
#7D156B
secondary
#3CB250
accent
#EE593A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D156B

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

Preview Lab → · Contrast checker → · Palette generator →

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