#7D145D#7D145D

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

Color values

HEX#7D145D
RGBrgb(125, 20, 93)
HSLhsl(318, 72%, 28%)
HSVhsv(318, 84%, 49%)
CMYKcmyk(0%, 84%, 25.6%, 51%)
CIE-LABlab(28.52, 49.42, -16.06)
CIE-LCHlch(28.52, 51.97, 342.00°)
OKLaboklab(40.45% 0.1497 -0.0429)
OKLCHoklch(40.45% 0.156 344)
XYZxyz(10.6838, 5.6518, 10.8821)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D145D #147D34
analogous
#68147D #7D145D #7D1428
triadic
#7D145D #5D7D14 #145D7D
tetradic
#7D145D #7D6814 #147D34 #14287D
square
#7D145D #7D6814 #147D34 #14287D
split-complementary
#7D145D #287D14 #147D68
monochromatic
#1A0414 #480C36 #7D145D #B21C84 #DE2EA8

Accessibility & contrast

On white

9.86
#7D145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D145D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D145D#FFFFFF#000000##FFFFFF
##7D145D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22385F
Deuteranopia (green-blind)
#43495B
Tritanopia (blue-blind)
#861338
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d145d;
/* rgb */ color: rgb(125, 20, 93);
/* oklch */ color: oklch(40.4% 0.156 344.0);
Tailwind
colors: {
  custom: {
    50: '#a7608b',
    500: '#7d145d',
    950: '#000000',
  },
}
SCSS
$custom: #7d145d;
$custom-light: #a7608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d145d",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 318.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.15572,
    "h": 344
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#7D145D
secondary
#3AB25F
accent
#EF7039
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D145D

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

Preview Lab → · Contrast checker → · Palette generator →

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