#C52A91#C52A91

#C52A91 is a mid, highly saturated pink. Relative luminance 0.156; OKLCH L 56.6% C 0.212 H 345.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C52A91
RGBrgb(197, 42, 145)
HSLhsl(320, 65%, 47%)
HSVhsv(320, 79%, 77%)
CMYKcmyk(0%, 78.7%, 26.4%, 22.7%)
CIE-LABlab(46.41, 67.47, -19.98)
CIE-LCHlch(46.41, 70.36, 343.51°)
OKLaboklab(56.62% 0.2049 -0.0531)
OKLCHoklch(56.62% 0.212 345.5)
XYZxyz(28.9661, 15.5738, 28.2632)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A91 #2AC55E
analogous
#AC2AC5 #C52A91 #C52A44
triadic
#C52A91 #91C52A #2A91C5
tetradic
#C52A91 #C5AC2A #2AC55E #2A44C5
square
#C52A91 #C5AC2A #2AC55E #2A44C5
split-complementary
#C52A91 #44C52A #2AC5AC
monochromatic
#601447 #931F6C #C52A91 #DA52AC #E585C5

Accessibility & contrast

On white

5.10
#C52A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C52A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A91
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A91#FFFFFF#000000##FFFFFF
##C52A911.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D94
Deuteranopia (green-blind)
#6F778E
Tritanopia (blue-blind)
#D3265B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c52a91;
/* rgb */ color: rgb(197, 42, 145);
/* oklch */ color: oklch(56.6% 0.212 345.5);
Tailwind
colors: {
  custom: {
    50: '#db75b1',
    500: '#c52a91',
    950: '#000000',
  },
}
SCSS
$custom: #c52a91;
$custom-light: #db75b1;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a91",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 320.129,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56615,
    "c": 0.21169,
    "h": 345.5
  },
  "luminance": 0.15571
}

Semantic roles & 50–950 ramp

primary
#C52A91
secondary
#7DCE98
accent
#E87840
background
#FEF7FA
surface
#FCEEF5
border
#D5C9CF
text
#160910
muted
#847B7F

Preview Lab

Preview with #C52A91

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

Preview Lab → · Contrast checker → · Palette generator →

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