#C52E6F#C52E6F

#C52E6F is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.192 H 359.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C52E6F
RGBrgb(197, 46, 111)
HSLhsl(334, 62%, 48%)
HSVhsv(334, 77%, 77%)
CMYKcmyk(0%, 76.6%, 43.7%, 22.7%)
CIE-LABlab(45.60, 62.65, -0.44)
CIE-LCHlch(45.60, 62.65, 359.59°)
OKLaboklab(55.63% 0.1925 -0.0004)
OKLCHoklch(55.63% 0.192 359.9)
XYZxyz(26.8743, 14.9755, 16.5112)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52E6F #2EC584
analogous
#C52EBB #C52E6F #C5382E
triadic
#C52E6F #6FC52E #2E6FC5
tetradic
#C52E6F #BBC52E #2EC584 #382EC5
square
#C52E6F #BBC52E #2EC584 #382EC5
split-complementary
#C52E6F #2EC538 #2EBBC5
monochromatic
#621737 #932253 #C52E6F #D8588F #E48AB0

Accessibility & contrast

On white

5.26
#C52E6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#C52E6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52E6F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52E6F#FFFFFF#000000##FFFFFF
##C52E6F1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A71
Deuteranopia (green-blind)
#79766C
Tritanopia (blue-blind)
#D6104B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c52e6f;
/* rgb */ color: rgb(197, 46, 111);
/* oklch */ color: oklch(55.6% 0.192 359.9);
Tailwind
colors: {
  custom: {
    50: '#dc7598',
    500: '#c52e6f',
    950: '#000000',
  },
}
SCSS
$custom: #c52e6f;
$custom-light: #dc7598;
$custom-dark: #000000;
JSON
{
  "hex": "#c52e6f",
  "rgb": {
    "r": 197,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 334.172,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55628,
    "c": 0.19246,
    "h": 359.9
  },
  "luminance": 0.14972
}

Semantic roles & 50–950 ramp

primary
#C52E6F
secondary
#81CEAD
accent
#E59F43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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