#7D155C#7D155C

#7D155C is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.154 H 344.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7D155C
RGBrgb(125, 21, 92)
HSLhsl(319, 71%, 29%)
HSVhsv(319, 83%, 49%)
CMYKcmyk(0%, 83.2%, 26.4%, 51%)
CIE-LABlab(28.56, 49.02, -15.33)
CIE-LCHlch(28.56, 51.36, 342.63°)
OKLaboklab(40.47% 0.1487 -0.0409)
OKLCHoklch(40.47% 0.154 344.6)
XYZxyz(10.6578, 5.6702, 10.6563)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D155C #157D36
analogous
#6A157D #7D155C #7D1528
triadic
#7D155C #5C7D15 #155C7D
tetradic
#7D155C #7D6A15 #157D36 #15287D
square
#7D155C #7D6A15 #157D36 #15287D
split-complementary
#7D155C #287D15 #157D6A
monochromatic
#1A0413 #490C35 #7D155C #B11E83 #DC30A6

Accessibility & contrast

On white

9.84
#7D155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D155C
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D155C#FFFFFF#000000##FFFFFF
##7D155C1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23385E
Deuteranopia (green-blind)
#444A5A
Tritanopia (blue-blind)
#861337
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d155c;
/* rgb */ color: rgb(125, 21, 92);
/* oklch */ color: oklch(40.5% 0.154 344.6);
Tailwind
colors: {
  custom: {
    50: '#a7608a',
    500: '#7d155c',
    950: '#000000',
  },
}
SCSS
$custom: #7d155c;
$custom-light: #a7608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d155c",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 319.038,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.15419,
    "h": 344.6
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

primary
#7D155C
secondary
#3CB261
accent
#EE733A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D155C

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

Preview Lab → · Contrast checker → · Palette generator →

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