#C52F5E#C52F5E

#C52F5E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.187 H 7.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#C52F5E
RGBrgb(197, 47, 94)
HSLhsl(341, 61%, 48%)
HSVhsv(341, 76%, 77%)
CMYKcmyk(0%, 76.1%, 52.3%, 22.7%)
CIE-LABlab(45.24, 60.87, 9.55)
CIE-LCHlch(45.24, 61.62, 8.92°)
OKLaboklab(55.21% 0.1855 0.0246)
OKLCHoklch(55.21% 0.187 7.6)
XYZxyz(26.0652, 14.7152, 12.0553)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F5E #2FC596
analogous
#C52FA9 #C52F5E #C54B2F
triadic
#C52F5E #5EC52F #2F5EC5
tetradic
#C52F5E #A9C52F #2FC596 #4B2FC5
square
#C52F5E #A9C52F #2FC596 #4B2FC5
split-complementary
#C52F5E #2FC54B #2FA9C5
monochromatic
#62172F #942346 #C52F5E #D85A81 #E38BA7

Accessibility & contrast

On white

5.33
#C52F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#C52F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52F5E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F5E#FFFFFF#000000##FFFFFF
##C52F5E1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56585F
Deuteranopia (green-blind)
#7D765A
Tritanopia (blue-blind)
#D70043
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52f5e;
/* rgb */ color: rgb(197, 47, 94);
/* oklch */ color: oklch(55.2% 0.187 7.6);
Tailwind
colors: {
  custom: {
    50: '#dd758b',
    500: '#c52f5e',
    950: '#000000',
  },
}
SCSS
$custom: #c52f5e;
$custom-light: #dd758b;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f5e",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 341.2,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55211,
    "c": 0.18712,
    "h": 7.6
  },
  "luminance": 0.14711
}

Semantic roles & 50–950 ramp

primary
#C52F5E
secondary
#82CDB6
accent
#E5B243
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C52F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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