#CB52B2#CB52B2

#CB52B2 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.8% C 0.188 H 336.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CB52B2
RGBrgb(203, 82, 178)
HSLhsl(312, 54%, 56%)
HSVhsv(312, 60%, 80%)
CMYKcmyk(0%, 59.6%, 12.3%, 20.4%)
CIE-LABlab(53.97, 59.09, -27.74)
CIE-LCHlch(53.97, 65.28, 334.85°)
OKLaboklab(62.77% 0.1727 -0.0752)
OKLCHoklch(62.77% 0.188 336.5)
XYZxyz(35.6822, 21.9483, 44.4680)
Luminance0.2195 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52B2 #52CB6B
analogous
#A852CB #CB52B2 #CB5275
triadic
#CB52B2 #B2CB52 #52B2CB
tetradic
#CB52B2 #CBA852 #52CB6B #5275CB
square
#CB52B2 #CBA852 #52CB6B #5275CB
split-complementary
#CB52B2 #75CB52 #52CBA8
monochromatic
#7D266B #AC3493 #CB52B2 #D981C7 #E7B0DC

Accessibility & contrast

On white

3.90
#CB52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CB52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52B2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52B2#FFFFFF#000000##000000
##CB52B21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#7988AF
Tritanopia (blue-blind)
#D5587B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb52b2;
/* rgb */ color: rgb(203, 82, 178);
/* oklch */ color: oklch(62.8% 0.188 336.5);
Tailwind
colors: {
  custom: {
    50: '#de89c9',
    500: '#cb52b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb52b2;
$custom-light: #de89c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52b2",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 312.397,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62771,
    "c": 0.18836,
    "h": 336.5
  },
  "luminance": 0.21945
}

Semantic roles & 50–950 ramp

primary
#CB52B2
secondary
#A3D5AE
accent
#DD694B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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