#7D155A#7D155A

#7D155A is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.153 H 345.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7D155A
RGBrgb(125, 21, 90)
HSLhsl(320, 71%, 29%)
HSVhsv(320, 83%, 49%)
CMYKcmyk(0%, 83.2%, 28%, 51%)
CIE-LABlab(28.47, 48.76, -14.16)
CIE-LCHlch(28.47, 50.77, 343.81°)
OKLaboklab(40.37% 0.1483 -0.0376)
OKLCHoklch(40.37% 0.153 345.8)
XYZxyz(10.5716, 5.6357, 10.2020)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D155A #157D38
analogous
#6C157D #7D155A #7D1526
triadic
#7D155A #5A7D15 #155A7D
tetradic
#7D155A #7D6C15 #157D38 #15267D
square
#7D155A #7D6C15 #157D38 #15267D
split-complementary
#7D155A #267D15 #157D6C
monochromatic
#1A0413 #490C34 #7D155A #B11E80 #DC30A2

Accessibility & contrast

On white

9.87
#7D155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D155A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D155A#FFFFFF#000000##FFFFFF
##7D155A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25385C
Deuteranopia (green-blind)
#444958
Tritanopia (blue-blind)
#861236
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d155a;
/* rgb */ color: rgb(125, 21, 90);
/* oklch */ color: oklch(40.4% 0.153 345.8);
Tailwind
colors: {
  custom: {
    50: '#a76088',
    500: '#7d155a',
    950: '#000000',
  },
}
SCSS
$custom: #7d155a;
$custom-light: #a76088;
$custom-dark: #000000;
JSON
{
  "hex": "#7d155a",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 320.192,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40374,
    "c": 0.15298,
    "h": 345.8
  },
  "luminance": 0.05634
}

Semantic roles & 50–950 ramp

primary
#7D155A
secondary
#3CB264
accent
#EE763A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D155A

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

Preview Lab → · Contrast checker → · Palette generator →

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