#C52A94#C52A94

#C52A94 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.213 H 344.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C52A94
RGBrgb(197, 42, 148)
HSLhsl(319, 65%, 47%)
HSVhsv(319, 79%, 77%)
CMYKcmyk(0%, 78.7%, 24.9%, 22.7%)
CIE-LABlab(46.54, 67.83, -21.59)
CIE-LCHlch(46.54, 71.19, 342.34°)
OKLaboklab(56.75% 0.2055 -0.0576)
OKLCHoklch(56.75% 0.213 344.3)
XYZxyz(29.2005, 15.6676, 29.4976)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A94 #2AC55B
analogous
#A92AC5 #C52A94 #C52A46
triadic
#C52A94 #94C52A #2A94C5
tetradic
#C52A94 #C5A92A #2AC55B #2A46C5
square
#C52A94 #C5A92A #2AC55B #2A46C5
split-complementary
#C52A94 #46C52A #2AC5A9
monochromatic
#601448 #931F6E #C52A94 #DA52AF #E585C6

Accessibility & contrast

On white

5.08
#C52A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C52A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A94
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A94#FFFFFF#000000##FFFFFF
##C52A941.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E97
Deuteranopia (green-blind)
#6F7791
Tritanopia (blue-blind)
#D2285D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c52a94;
/* rgb */ color: rgb(197, 42, 148);
/* oklch */ color: oklch(56.7% 0.213 344.3);
Tailwind
colors: {
  custom: {
    50: '#db75b3',
    500: '#c52a94',
    950: '#000000',
  },
}
SCSS
$custom: #c52a94;
$custom-light: #db75b3;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a94",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 318.968,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.21339,
    "h": 344.3
  },
  "luminance": 0.15664
}

Semantic roles & 50–950 ramp

primary
#C52A94
secondary
#7DCE96
accent
#E87540
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #C52A94

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

Preview Lab → · Contrast checker → · Palette generator →

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