#7D1D52#7D1D52

#7D1D52 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.140 H 351.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7D1D52
RGBrgb(125, 29, 82)
HSLhsl(327, 62%, 30%)
HSVhsv(327, 77%, 49%)
CMYKcmyk(0%, 76.8%, 34.4%, 51%)
CIE-LABlab(29.03, 45.22, -8.05)
CIE-LCHlch(29.03, 45.93, 349.91°)
OKLaboklab(40.67% 0.1384 -0.0208)
OKLCHoklch(40.67% 0.14 351.4)
XYZxyz(10.4204, 5.8491, 8.5612)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D52 #1D7D48
analogous
#781D7D #7D1D52 #7D1D22
triadic
#7D1D52 #527D1D #1D527D
tetradic
#7D1D52 #7D781D #1D7D48 #1D227D
square
#7D1D52 #7D781D #1D7D48 #1D227D
split-complementary
#7D1D52 #227D1D #1D7D78
monochromatic
#1A0611 #4B1131 #7D1D52 #AF2973 #D34192

Accessibility & contrast

On white

9.68
#7D1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D1D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D52
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D52#FFFFFF#000000##FFFFFF
##7D1D521.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3953
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#871635
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1d52;
/* rgb */ color: rgb(125, 29, 82);
/* oklch */ color: oklch(40.7% 0.140 351.4);
Tailwind
colors: {
  custom: {
    50: '#a76382',
    500: '#7d1d52',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d52;
$custom-light: #a76382;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d52",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 82
  },
  "hsl": {
    "h": 326.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40668,
    "c": 0.13997,
    "h": 351.4
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#7D1D52
secondary
#45B175
accent
#E58B42
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1D52

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

Preview Lab → · Contrast checker → · Palette generator →

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