#7D2452#7D2452

#7D2452 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.131 H 352.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7D2452
RGBrgb(125, 36, 82)
HSLhsl(329, 55%, 32%)
HSVhsv(329, 71%, 49%)
CMYKcmyk(0%, 71.2%, 34.4%, 51%)
CIE-LABlab(29.99, 42.53, -6.60)
CIE-LCHlch(29.99, 43.04, 351.18°)
OKLaboklab(41.37% 0.13 -0.017)
OKLCHoklch(41.37% 0.131 352.6)
XYZxyz(10.6119, 6.2321, 8.6251)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2452 #247D4F
analogous
#7C247D #7D2452 #7D2425
triadic
#7D2452 #527D24 #24527D
tetradic
#7D2452 #7D7C24 #247D4F #24257D
square
#7D2452 #7D7C24 #247D4F #24257D
split-complementary
#7D2452 #257D24 #247D7C
monochromatic
#1E0914 #4D1633 #7D2452 #AD3271 #CC4F90

Accessibility & contrast

On white

9.35
#7D2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7D2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2452
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2452#FFFFFF#000000##FFFFFF
##7D24521.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C53
Deuteranopia (green-blind)
#4B4D50
Tritanopia (blue-blind)
#871E37
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7d2452;
/* rgb */ color: rgb(125, 36, 82);
/* oklch */ color: oklch(41.4% 0.131 352.6);
Tailwind
colors: {
  custom: {
    50: '#a66682',
    500: '#7d2452',
    950: '#000000',
  },
}
SCSS
$custom: #7d2452;
$custom-light: #a66682;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2452",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 328.989,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.13106,
    "h": 352.6
  },
  "luminance": 0.06231
}

Semantic roles & 50–950 ramp

primary
#7D2452
secondary
#4DAF7D
accent
#DF9149
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D2452

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

Preview Lab → · Contrast checker → · Palette generator →

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