#C52A6B#C52A6B

#C52A6B is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.195 H 1.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C52A6B
RGBrgb(197, 42, 107)
HSLhsl(335, 65%, 47%)
HSVhsv(335, 79%, 77%)
CMYKcmyk(0%, 78.7%, 45.7%, 22.7%)
CIE-LABlab(45.07, 63.45, 1.25)
CIE-LCHlch(45.07, 63.47, 1.13°)
OKLaboklab(55.2% 0.1949 0.0039)
OKLCHoklch(55.2% 0.195 1.2)
XYZxyz(26.5099, 14.5914, 15.3275)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A6B #2AC584
analogous
#C52AB9 #C52A6B #C5372A
triadic
#C52A6B #6BC52A #2A6BC5
tetradic
#C52A6B #B9C52A #2AC584 #372AC5
square
#C52A6B #B9C52A #2AC584 #372AC5
split-complementary
#C52A6B #2AC537 #2AB9C5
monochromatic
#601434 #931F50 #C52A6B #DA528B #E585AD

Accessibility & contrast

On white

5.36
#C52A6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#C52A6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A6B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A6B#FFFFFF#000000##FFFFFF
##C52A6B1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#797567
Tritanopia (blue-blind)
#D60047
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52a6b;
/* rgb */ color: rgb(197, 42, 107);
/* oklch */ color: oklch(55.2% 0.195 1.2);
Tailwind
colors: {
  custom: {
    50: '#dd7495',
    500: '#c52a6b',
    950: '#000000',
  },
}
SCSS
$custom: #c52a6b;
$custom-light: #dd7495;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a6b",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 334.839,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.19493,
    "h": 1.2
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#C52A6B
secondary
#7DCEAC
accent
#E8A140
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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