#7D2A52#7D2A52

#7D2A52 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.1% C 0.122 H 353.8°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7D2A52
RGBrgb(125, 42, 82)
HSLhsl(331, 50%, 33%)
HSVhsv(331, 66%, 49%)
CMYKcmyk(0%, 66.4%, 34.4%, 51%)
CIE-LABlab(30.94, 39.91, -5.18)
CIE-LCHlch(30.94, 40.25, 352.61°)
OKLaboklab(42.07% 0.1218 -0.0132)
OKLCHoklch(42.07% 0.122 353.8)
XYZxyz(10.8090, 6.6263, 8.6908)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A52 #2A7D55
analogous
#7D2A7C #7D2A52 #7D2B2A
triadic
#7D2A52 #527D2A #2A527D
tetradic
#7D2A52 #7C7D2A #2A7D55 #2B2A7D
square
#7D2A52 #7C7D2A #2A7D55 #2B2A7D
split-complementary
#7D2A52 #2A7D2B #2A7C7D
monochromatic
#210B16 #4F1B34 #7D2A52 #AB3970 #C85A8F

Accessibility & contrast

On white

9.03
#7D2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7D2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A52
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A52#FFFFFF#000000##FFFFFF
##7D2A521.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#4E4E50
Tritanopia (blue-blind)
#87243A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d2a52;
/* rgb */ color: rgb(125, 42, 82);
/* oklch */ color: oklch(42.1% 0.122 353.8);
Tailwind
colors: {
  custom: {
    50: '#a66982',
    500: '#7d2a52',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a52;
$custom-light: #a66982;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a52",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 331.084,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42074,
    "c": 0.12249,
    "h": 353.8
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#7D2A52
secondary
#56AD83
accent
#D9964F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7D2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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