#CB52AB#CB52AB

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

Color values

HEX#CB52AB
RGBrgb(203, 82, 171)
HSLhsl(316, 54%, 56%)
HSVhsv(316, 60%, 80%)
CMYKcmyk(0%, 59.6%, 15.8%, 20.4%)
CIE-LABlab(53.68, 58.03, -24.12)
CIE-LCHlch(53.68, 62.84, 337.43°)
OKLaboklab(62.46% 0.1714 -0.065)
OKLCHoklch(62.46% 0.183 339.2)
XYZxyz(34.9972, 21.6743, 40.8605)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52AB #52CB72
analogous
#AE52CB #CB52AB #CB526E
triadic
#CB52AB #ABCB52 #52ABCB
tetradic
#CB52AB #CBAE52 #52CB72 #526ECB
square
#CB52AB #CBAE52 #52CB72 #526ECB
split-complementary
#CB52AB #6ECB52 #52CBAE
monochromatic
#7D2666 #AC348C #CB52AB #D981C2 #E7B0D9

Accessibility & contrast

On white

3.94
#CB52AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CB52AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52AB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52AB#FFFFFF#000000##000000
##CB52AB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774AE
Deuteranopia (green-blind)
#7B87A8
Tritanopia (blue-blind)
#D65577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb52ab;
/* rgb */ color: rgb(203, 82, 171);
/* oklch */ color: oklch(62.5% 0.183 339.2);
Tailwind
colors: {
  custom: {
    50: '#de89c4',
    500: '#cb52ab',
    950: '#000000',
  },
}
SCSS
$custom: #cb52ab;
$custom-light: #de89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52ab",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 315.868,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62461,
    "c": 0.1833,
    "h": 339.2
  },
  "luminance": 0.21671
}

Semantic roles & 50–950 ramp

primary
#CB52AB
secondary
#A3D5B1
accent
#DD714B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C12
muted
#847D81

Preview Lab

Preview with #CB52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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