#C52A6D#C52A6D

#C52A6D is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.3% C 0.196 H 0.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C52A6D
RGBrgb(197, 42, 109)
HSLhsl(334, 65%, 47%)
HSVhsv(334, 79%, 77%)
CMYKcmyk(0%, 78.7%, 44.7%, 22.7%)
CIE-LABlab(45.13, 63.63, 0.10)
CIE-LCHlch(45.13, 63.63, 0.09°)
OKLaboklab(55.26% 0.1956 0.001)
OKLCHoklch(55.26% 0.196 0.3)
XYZxyz(26.6164, 14.6339, 15.8881)
Luminance0.1463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A6D #2AC582
analogous
#C52ABB #C52A6D #C5352A
triadic
#C52A6D #6DC52A #2A6DC5
tetradic
#C52A6D #BBC52A #2AC582 #352AC5
square
#C52A6D #BBC52A #2AC582 #352AC5
split-complementary
#C52A6D #2AC535 #2ABBC5
monochromatic
#601435 #931F51 #C52A6D #DA528D #E585AE

Accessibility & contrast

On white

5.35
#C52A6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C52A6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A6D
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A6D#FFFFFF#000000##FFFFFF
##C52A6D1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F586F
Deuteranopia (green-blind)
#797569
Tritanopia (blue-blind)
#D60148
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52a6d;
/* rgb */ color: rgb(197, 42, 109);
/* oklch */ color: oklch(55.3% 0.196 0.3);
Tailwind
colors: {
  custom: {
    50: '#dc7496',
    500: '#c52a6d',
    950: '#000000',
  },
}
SCSS
$custom: #c52a6d;
$custom-light: #dc7496;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a6d",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 334.065,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55262,
    "c": 0.19555,
    "h": 0.3
  },
  "luminance": 0.1463
}

Semantic roles & 50–950 ramp

primary
#C52A6D
secondary
#7DCEAB
accent
#E89F40
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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