#C552B1#C552B1

#C552B1 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.184 H 334.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C552B1
RGBrgb(197, 82, 177)
HSLhsl(310, 50%, 55%)
HSVhsv(310, 58%, 77%)
CMYKcmyk(0%, 58.4%, 10.2%, 22.7%)
CIE-LABlab(53.04, 57.28, -28.68)
CIE-LCHlch(53.04, 64.06, 333.40°)
OKLaboklab(61.89% 0.1661 -0.078)
OKLCHoklch(61.89% 0.184 334.9)
XYZxyz(33.9793, 21.0818, 43.8660)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C552B1 #52C566
analogous
#A052C5 #C552B1 #C55277
triadic
#C552B1 #B1C552 #52B1C5
tetradic
#C552B1 #C5A052 #52C566 #5277C5
square
#C552B1 #C5A052 #52C566 #5277C5
split-complementary
#C552B1 #77C552 #52C5A0
monochromatic
#752768 #A33790 #C552B1 #D480C6 #E4AEDA

Accessibility & contrast

On white

4.03
#C552B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C552B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C552B1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C552B1#FFFFFF#000000##000000
##C552B11.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#CE597A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c552b1;
/* rgb */ color: rgb(197, 82, 177);
/* oklch */ color: oklch(61.9% 0.184 334.9);
Tailwind
colors: {
  custom: {
    50: '#d989c8',
    500: '#c552b1',
    950: '#000000',
  },
}
SCSS
$custom: #c552b1;
$custom-light: #d989c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c552b1",
  "rgb": {
    "r": 197,
    "g": 82,
    "b": 177
  },
  "hsl": {
    "h": 310.435,
    "s": 49.784,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61894,
    "c": 0.18352,
    "h": 334.9
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#C552B1
secondary
#A1D2AA
accent
#D9674E
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C552B1

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

Preview Lab → · Contrast checker → · Palette generator →

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