#7D145C#7D145C

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

Color values

HEX#7D145C
RGBrgb(125, 20, 92)
HSLhsl(319, 72%, 28%)
HSVhsv(319, 84%, 49%)
CMYKcmyk(0%, 84%, 26.4%, 51%)
CIE-LABlab(28.47, 49.29, -15.48)
CIE-LCHlch(28.47, 51.66, 342.57°)
OKLaboklab(40.4% 0.1495 -0.0413)
OKLCHoklch(40.4% 0.155 344.6)
XYZxyz(10.6398, 5.6342, 10.6503)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D145C #147D35
analogous
#69147D #7D145C #7D1427
triadic
#7D145C #5C7D14 #145C7D
tetradic
#7D145C #7D6914 #147D35 #14277D
square
#7D145C #7D6914 #147D35 #14277D
split-complementary
#7D145C #277D14 #147D69
monochromatic
#1A0413 #480C35 #7D145C #B21C83 #DE2EA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D145C#FFFFFF#000000##FFFFFF
##7D145C1.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)
#23385E
Deuteranopia (green-blind)
#43495A
Tritanopia (blue-blind)
#861237
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d145c;
/* rgb */ color: rgb(125, 20, 92);
/* oklch */ color: oklch(40.4% 0.155 344.6);
Tailwind
colors: {
  custom: {
    50: '#a7608a',
    500: '#7d145c',
    950: '#000000',
  },
}
SCSS
$custom: #7d145c;
$custom-light: #a7608a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d145c",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 318.857,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40401,
    "c": 0.15511,
    "h": 344.6
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#7D145C
secondary
#3AB260
accent
#EF7239
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D145C

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

Preview Lab → · Contrast checker → · Palette generator →

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