#C52F6B#C52F6B

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

Color values

HEX#C52F6B
RGBrgb(197, 47, 107)
HSLhsl(336, 61%, 48%)
HSVhsv(336, 76%, 77%)
CMYKcmyk(0%, 76.1%, 45.7%, 22.7%)
CIE-LABlab(45.59, 61.98, 2.01)
CIE-LCHlch(45.59, 62.01, 1.86°)
OKLaboklab(55.58% 0.1901 0.0059)
OKLCHoklch(55.58% 0.19 1.8)
XYZxyz(26.6985, 14.9685, 15.3904)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F6B #2FC589
analogous
#C52FB6 #C52F6B #C53E2F
triadic
#C52F6B #6BC52F #2F6BC5
tetradic
#C52F6B #B6C52F #2FC589 #3E2FC5
square
#C52F6B #B6C52F #2FC589 #3E2FC5
split-complementary
#C52F6B #2FC53E #2FB6C5
monochromatic
#621735 #942350 #C52F6B #D85A8C #E38BAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C52F6B#FFFFFF#000000##FFFFFF
##C52F6B1.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)
#52596C
Deuteranopia (green-blind)
#7A7668
Tritanopia (blue-blind)
#D60E49
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c52f6b;
/* rgb */ color: rgb(197, 47, 107);
/* oklch */ color: oklch(55.6% 0.190 1.8);
Tailwind
colors: {
  custom: {
    50: '#dc7695',
    500: '#c52f6b',
    950: '#000000',
  },
}
SCSS
$custom: #c52f6b;
$custom-light: #dc7695;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f6b",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 336,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55582,
    "c": 0.19023,
    "h": 1.8
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#C52F6B
secondary
#82CDAF
accent
#E5A443
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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