#C52B6B#C52B6B

#C52B6B is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.194 H 1.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C52B6B
RGBrgb(197, 43, 107)
HSLhsl(335, 64%, 47%)
HSVhsv(335, 78%, 77%)
CMYKcmyk(0%, 78.2%, 45.7%, 22.7%)
CIE-LABlab(45.17, 63.17, 1.40)
CIE-LCHlch(45.17, 63.18, 1.27°)
OKLaboklab(55.27% 0.194 0.0043)
OKLCHoklch(55.27% 0.194 1.3)
XYZxyz(26.5458, 14.6632, 15.3395)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52B6B #2BC585
analogous
#C52BB8 #C52B6B #C5382B
triadic
#C52B6B #6BC52B #2B6BC5
tetradic
#C52B6B #B8C52B #2BC585 #382BC5
square
#C52B6B #B8C52B #2BC585 #382BC5
split-complementary
#C52B6B #2BC538 #2BB8C5
monochromatic
#611534 #932050 #C52B6B #DA548B #E586AD

Accessibility & contrast

On white

5.34
#C52B6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C52B6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52B6B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52B6B#FFFFFF#000000##FFFFFF
##C52B6B1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#797667
Tritanopia (blue-blind)
#D60148
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c52b6b;
/* rgb */ color: rgb(197, 43, 107);
/* oklch */ color: oklch(55.3% 0.194 1.3);
Tailwind
colors: {
  custom: {
    50: '#dd7495',
    500: '#c52b6b',
    950: '#000000',
  },
}
SCSS
$custom: #c52b6b;
$custom-light: #dd7495;
$custom-dark: #000000;
JSON
{
  "hex": "#c52b6b",
  "rgb": {
    "r": 197,
    "g": 43,
    "b": 107
  },
  "hsl": {
    "h": 335.065,
    "s": 64.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.19402,
    "h": 1.3
  },
  "luminance": 0.1466
}

Semantic roles & 50–950 ramp

primary
#C52B6B
secondary
#7ECEAD
accent
#E7A241
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C52B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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