#CB52A4#CB52A4

#CB52A4 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.179 H 342.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CB52A4
RGBrgb(203, 82, 164)
HSLhsl(319, 54%, 56%)
HSVhsv(319, 60%, 80%)
CMYKcmyk(0%, 59.6%, 19.2%, 20.4%)
CIE-LABlab(53.40, 57.00, -20.46)
CIE-LCHlch(53.40, 60.56, 340.26°)
OKLaboklab(62.16% 0.1699 -0.0547)
OKLCHoklch(62.16% 0.179 342.2)
XYZxyz(34.3476, 21.4145, 37.4392)
Luminance0.2141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52A4 #52CB79
analogous
#B552CB #CB52A4 #CB5267
triadic
#CB52A4 #A4CB52 #52A4CB
tetradic
#CB52A4 #CBB552 #52CB79 #5267CB
square
#CB52A4 #CBB552 #52CB79 #5267CB
split-complementary
#CB52A4 #67CB52 #52CBB5
monochromatic
#7D2661 #AC3485 #CB52A4 #D981BD #E7B0D6

Accessibility & contrast

On white

3.98
#CB52A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CB52A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52A4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52A4#FFFFFF#000000##000000
##CB52A41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A7
Deuteranopia (green-blind)
#7E87A1
Tritanopia (blue-blind)
#D75374
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cb52a4;
/* rgb */ color: rgb(203, 82, 164);
/* oklch */ color: oklch(62.2% 0.179 342.2);
Tailwind
colors: {
  custom: {
    50: '#de89bf',
    500: '#cb52a4',
    950: '#000000',
  },
}
SCSS
$custom: #cb52a4;
$custom-light: #de89bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52a4",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 319.339,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.17852,
    "h": 342.2
  },
  "luminance": 0.21411
}

Semantic roles & 50–950 ramp

primary
#CB52A4
secondary
#A3D5B3
accent
#DD7A4B
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB52A4

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

Preview Lab → · Contrast checker → · Palette generator →

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