#C52F62#C52F62

#C52F62 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.3% C 0.188 H 5.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C52F62
RGBrgb(197, 47, 98)
HSLhsl(340, 61%, 48%)
HSVhsv(340, 76%, 77%)
CMYKcmyk(0%, 76.1%, 50.3%, 22.7%)
CIE-LABlab(45.34, 61.20, 7.22)
CIE-LCHlch(45.34, 61.62, 6.73°)
OKLaboklab(55.32% 0.187 0.0189)
OKLCHoklch(55.32% 0.188 5.8)
XYZxyz(26.2494, 14.7888, 13.0252)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52F62 #2FC592
analogous
#C52FAD #C52F62 #C5472F
triadic
#C52F62 #62C52F #2F62C5
tetradic
#C52F62 #ADC52F #2FC592 #472FC5
square
#C52F62 #ADC52F #2FC592 #472FC5
split-complementary
#C52F62 #2FC547 #2FADC5
monochromatic
#621731 #942349 #C52F62 #D85A84 #E38BA9

Accessibility & contrast

On white

5.31
#C52F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C52F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52F62
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52F62#FFFFFF#000000##FFFFFF
##C52F621.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555863
Deuteranopia (green-blind)
#7C765E
Tritanopia (blue-blind)
#D70245
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52f62;
/* rgb */ color: rgb(197, 47, 98);
/* oklch */ color: oklch(55.3% 0.188 5.8);
Tailwind
colors: {
  custom: {
    50: '#dd758e',
    500: '#c52f62',
    950: '#000000',
  },
}
SCSS
$custom: #c52f62;
$custom-light: #dd758e;
$custom-dark: #000000;
JSON
{
  "hex": "#c52f62",
  "rgb": {
    "r": 197,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 339.6,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.18792,
    "h": 5.8
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#C52F62
secondary
#82CDB4
accent
#E5AE43
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C52F62

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

Preview Lab → · Contrast checker → · Palette generator →

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