#CB52AC#CB52AC

#CB52AC is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.184 H 338.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CB52AC
RGBrgb(203, 82, 172)
HSLhsl(315, 54%, 56%)
HSVhsv(315, 60%, 80%)
CMYKcmyk(0%, 59.6%, 15.3%, 20.4%)
CIE-LABlab(53.72, 58.18, -24.64)
CIE-LCHlch(53.72, 63.18, 337.04°)
OKLaboklab(62.5% 0.1716 -0.0664)
OKLCHoklch(62.5% 0.184 338.8)
XYZxyz(35.0929, 21.7126, 41.3644)
Luminance0.2171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52AC #52CB71
analogous
#AD52CB #CB52AC #CB526F
triadic
#CB52AC #ACCB52 #52ACCB
tetradic
#CB52AC #CBAD52 #52CB71 #526FCB
square
#CB52AC #CBAD52 #52CB71 #526FCB
split-complementary
#CB52AC #6FCB52 #52CBAD
monochromatic
#7D2667 #AC348D #CB52AC #D981C3 #E7B0D9

Accessibility & contrast

On white

3.93
#CB52AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CB52AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52AC
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52AC#FFFFFF#000000##000000
##CB52AC1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AF
Deuteranopia (green-blind)
#7B87A9
Tritanopia (blue-blind)
#D65678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb52ac;
/* rgb */ color: rgb(203, 82, 172);
/* oklch */ color: oklch(62.5% 0.184 338.8);
Tailwind
colors: {
  custom: {
    50: '#de89c5',
    500: '#cb52ac',
    950: '#000000',
  },
}
SCSS
$custom: #cb52ac;
$custom-light: #de89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52ac",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 315.372,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62504,
    "c": 0.18401,
    "h": 338.8
  },
  "luminance": 0.2171
}

Semantic roles & 50–950 ramp

primary
#CB52AC
secondary
#A3D5B0
accent
#DD704B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB52AC

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

Preview Lab → · Contrast checker → · Palette generator →

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