#CB52AD#CB52AD

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

Color values

HEX#CB52AD
RGBrgb(203, 82, 173)
HSLhsl(315, 54%, 56%)
HSVhsv(315, 60%, 80%)
CMYKcmyk(0%, 59.6%, 14.8%, 20.4%)
CIE-LABlab(53.76, 58.33, -25.16)
CIE-LCHlch(53.76, 63.52, 336.67°)
OKLaboklab(62.55% 0.1718 -0.0679)
OKLCHoklch(62.55% 0.185 338.4)
XYZxyz(35.1893, 21.7511, 41.8721)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52AD #52CB70
analogous
#AC52CB #CB52AD #CB5270
triadic
#CB52AD #ADCB52 #52ADCB
tetradic
#CB52AD #CBAC52 #52CB70 #5270CB
square
#CB52AD #CBAC52 #52CB70 #5270CB
split-complementary
#CB52AD #70CB52 #52CBAC
monochromatic
#7D2667 #AC348E #CB52AD #D981C3 #E7B0DA

Accessibility & contrast

On white

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

On black

5.35
#CB52AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52AD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52AD#FFFFFF#000000##000000
##CB52AD1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5674B0
Deuteranopia (green-blind)
#7B87AA
Tritanopia (blue-blind)
#D55678
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb52ad;
/* rgb */ color: rgb(203, 82, 173);
/* oklch */ color: oklch(62.5% 0.185 338.4);
Tailwind
colors: {
  custom: {
    50: '#de89c5',
    500: '#cb52ad',
    950: '#000000',
  },
}
SCSS
$custom: #cb52ad;
$custom-light: #de89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52ad",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 173
  },
  "hsl": {
    "h": 314.876,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62548,
    "c": 0.18472,
    "h": 338.4
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB52AD

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

Preview Lab → · Contrast checker → · Palette generator →

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