#C52A8B#C52A8B

#C52A8B is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.4% C 0.208 H 347.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C52A8B
RGBrgb(197, 42, 139)
HSLhsl(322, 65%, 47%)
HSVhsv(322, 79%, 77%)
CMYKcmyk(0%, 78.7%, 29.4%, 22.7%)
CIE-LABlab(46.17, 66.75, -16.72)
CIE-LCHlch(46.17, 68.82, 345.94°)
OKLaboklab(56.36% 0.2037 -0.0441)
OKLCHoklch(56.36% 0.208 347.8)
XYZxyz(28.5156, 15.3936, 25.8907)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A8B #2AC564
analogous
#B22AC5 #C52A8B #C52A3D
triadic
#C52A8B #8BC52A #2A8BC5
tetradic
#C52A8B #C5B22A #2AC564 #2A3DC5
square
#C52A8B #C5B22A #2AC564 #2A3DC5
split-complementary
#C52A8B #3DC52A #2AC5B2
monochromatic
#601444 #931F67 #C52A8B #DA52A7 #E585C1

Accessibility & contrast

On white

5.15
#C52A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C52A8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A8B
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A8B#FFFFFF#000000##FFFFFF
##C52A8B1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435C8D
Deuteranopia (green-blind)
#717788
Tritanopia (blue-blind)
#D32258
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c52a8b;
/* rgb */ color: rgb(197, 42, 139);
/* oklch */ color: oklch(56.4% 0.208 347.8);
Tailwind
colors: {
  custom: {
    50: '#db75ad',
    500: '#c52a8b',
    950: '#000000',
  },
}
SCSS
$custom: #c52a8b;
$custom-light: #db75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a8b",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 139
  },
  "hsl": {
    "h": 322.452,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.20844,
    "h": 347.8
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#C52A8B
secondary
#7DCE9B
accent
#E87F40
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160910
muted
#847B7F

Preview Lab

Preview with #C52A8B

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

Preview Lab → · Contrast checker → · Palette generator →

#C52A8B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva