#C52A6E#C52A6E

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

Color values

HEX#C52A6E
RGBrgb(197, 42, 110)
HSLhsl(334, 65%, 47%)
HSVhsv(334, 79%, 77%)
CMYKcmyk(0%, 78.7%, 44.2%, 22.7%)
CIE-LABlab(45.16, 63.73, -0.47)
CIE-LCHlch(45.16, 63.73, 359.57°)
OKLaboklab(55.29% 0.1959 -0.0005)
OKLCHoklch(55.29% 0.196 359.9)
XYZxyz(26.6705, 14.6556, 16.1732)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A6E #2AC581
analogous
#C52ABC #C52A6E #C5332A
triadic
#C52A6E #6EC52A #2A6EC5
tetradic
#C52A6E #BCC52A #2AC581 #332AC5
square
#C52A6E #BCC52A #2AC581 #332AC5
split-complementary
#C52A6E #2AC533 #2ABCC5
monochromatic
#601436 #931F52 #C52A6E #DA528E #E585AF

Accessibility & contrast

On white

5.34
#C52A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52A6E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A6E#FFFFFF#000000##FFFFFF
##C52A6E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5870
Deuteranopia (green-blind)
#78756A
Tritanopia (blue-blind)
#D60349
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52a6e;
/* rgb */ color: rgb(197, 42, 110);
/* oklch */ color: oklch(55.3% 0.196 359.9);
Tailwind
colors: {
  custom: {
    50: '#dc7497',
    500: '#c52a6e',
    950: '#000000',
  },
}
SCSS
$custom: #c52a6e;
$custom-light: #dc7497;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a6e",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 333.677,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.19588,
    "h": 359.9
  },
  "luminance": 0.14652
}

Semantic roles & 50–950 ramp

primary
#C52A6E
secondary
#7DCEAA
accent
#E89E40
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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