#CB52AA#CB52AA

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

Color values

HEX#CB52AA
RGBrgb(203, 82, 170)
HSLhsl(316, 54%, 56%)
HSVhsv(316, 60%, 80%)
CMYKcmyk(0%, 59.6%, 16.3%, 20.4%)
CIE-LABlab(53.64, 57.88, -23.60)
CIE-LCHlch(53.64, 62.51, 337.82°)
OKLaboklab(62.42% 0.1712 -0.0635)
OKLCHoklch(62.42% 0.183 339.6)
XYZxyz(34.9022, 21.6363, 40.3604)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52AA #52CB73
analogous
#B052CB #CB52AA #CB526D
triadic
#CB52AA #AACB52 #52AACB
tetradic
#CB52AA #CBB052 #52CB73 #526DCB
square
#CB52AA #CBB052 #52CB73 #526DCB
split-complementary
#CB52AA #6DCB52 #52CBB0
monochromatic
#7D2665 #AC348B #CB52AA #D981C1 #E7B0D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB52AA#FFFFFF#000000##000000
##CB52AA1.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)
#5874AD
Deuteranopia (green-blind)
#7C87A7
Tritanopia (blue-blind)
#D65577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb52aa;
/* rgb */ color: rgb(203, 82, 170);
/* oklch */ color: oklch(62.4% 0.183 339.6);
Tailwind
colors: {
  custom: {
    50: '#de89c3',
    500: '#cb52aa',
    950: '#000000',
  },
}
SCSS
$custom: #cb52aa;
$custom-light: #de89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52aa",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 316.364,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62417,
    "c": 0.1826,
    "h": 339.6
  },
  "luminance": 0.21633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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