#C52F6E#C52F6E

#C52F6E is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.7% C 0.191 H 0.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C52F6E
RGBrgb(197, 47, 110)
HSLhsl(335, 61%, 48%)
HSVhsv(335, 76%, 77%)
CMYKcmyk(0%, 76.1%, 44.2%, 22.7%)
CIE-LABlab(45.68, 62.25, 0.29)
CIE-LCHlch(45.68, 62.25, 0.26°)
OKLaboklab(55.68% 0.1911 0.0014)
OKLCHoklch(55.68% 0.191 0.4)
XYZxyz(26.8591, 15.0327, 16.2361)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F6E #2FC586
analogous
#C52FB9 #C52F6E #C53B2F
triadic
#C52F6E #6EC52F #2F6EC5
tetradic
#C52F6E #B9C52F #2FC586 #3B2FC5
square
#C52F6E #B9C52F #2FC586 #3B2FC5
split-complementary
#C52F6E #2FC53B #2FB9C5
monochromatic
#621737 #942352 #C52F6E #D85A8F #E38BB0

Accessibility & contrast

On white

5.24
#C52F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C52F6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52F6E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F6E#FFFFFF#000000##FFFFFF
##C52F6E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515A70
Deuteranopia (green-blind)
#7A776B
Tritanopia (blue-blind)
#D6114B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c52f6e;
/* rgb */ color: rgb(197, 47, 110);
/* oklch */ color: oklch(55.7% 0.191 0.4);
Tailwind
colors: {
  custom: {
    50: '#dc7697',
    500: '#c52f6e',
    950: '#000000',
  },
}
SCSS
$custom: #c52f6e;
$custom-light: #dc7697;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f6e",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 334.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.19116,
    "h": 0.4
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#C52F6E
secondary
#82CDAE
accent
#E5A143
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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