#7D155F#7D155F

#7D155F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.6% C 0.156 H 342.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7D155F
RGBrgb(125, 21, 95)
HSLhsl(317, 71%, 29%)
HSVhsv(317, 83%, 49%)
CMYKcmyk(0%, 83.2%, 24%, 51%)
CIE-LABlab(28.70, 49.42, -17.08)
CIE-LCHlch(28.70, 52.29, 340.94°)
OKLaboklab(40.62% 0.1492 -0.0458)
OKLCHoklch(40.62% 0.156 342.9)
XYZxyz(10.7916, 5.7237, 11.3607)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D155F #157D33
analogous
#67157D #7D155F #7D152B
triadic
#7D155F #5F7D15 #155F7D
tetradic
#7D155F #7D6715 #157D33 #152B7D
square
#7D155F #7D6715 #157D33 #152B7D
split-complementary
#7D155F #2B7D15 #157D67
monochromatic
#1A0414 #490C37 #7D155F #B11E87 #DC30AB

Accessibility & contrast

On white

9.79
#7D155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D155F
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D155F#FFFFFF#000000##FFFFFF
##7D155F1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223961
Deuteranopia (green-blind)
#434A5D
Tritanopia (blue-blind)
#851639
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d155f;
/* rgb */ color: rgb(125, 21, 95);
/* oklch */ color: oklch(40.6% 0.156 342.9);
Tailwind
colors: {
  custom: {
    50: '#a6608c',
    500: '#7d155f',
    950: '#000000',
  },
}
SCSS
$custom: #7d155f;
$custom-light: #a6608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d155f",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 317.308,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.15606,
    "h": 342.9
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#7D155F
secondary
#3CB25E
accent
#EE6E3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D155F

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

Preview Lab → · Contrast checker → · Palette generator →

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