#CB529D#CB529D

#CB529D is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.9% C 0.174 H 345.2°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CB529D
RGBrgb(203, 82, 157)
HSLhsl(323, 54%, 56%)
HSVhsv(323, 60%, 80%)
CMYKcmyk(0%, 59.6%, 22.7%, 20.4%)
CIE-LABlab(53.13, 56.02, -16.76)
CIE-LCHlch(53.13, 58.47, 343.34°)
OKLaboklab(61.88% 0.1683 -0.0444)
OKLCHoklch(61.88% 0.174 345.2)
XYZxyz(33.7328, 21.1685, 34.2011)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB529D #52CB80
analogous
#BC52CB #CB529D #CB5260
triadic
#CB529D #9DCB52 #529DCB
tetradic
#CB529D #CBBC52 #52CB80 #5260CB
square
#CB529D #CBBC52 #52CB80 #5260CB
split-complementary
#CB529D #60CB52 #52CBBC
monochromatic
#7D265C #AC347E #CB529D #D981B8 #E7B0D2

Accessibility & contrast

On white

4.01
#CB529D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CB529D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB529D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB529D#FFFFFF#000000##000000
##CB529D1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D729F
Deuteranopia (green-blind)
#80869A
Tritanopia (blue-blind)
#D75171
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb529d;
/* rgb */ color: rgb(203, 82, 157);
/* oklch */ color: oklch(61.9% 0.174 345.2);
Tailwind
colors: {
  custom: {
    50: '#de89ba',
    500: '#cb529d',
    950: '#000000',
  },
}
SCSS
$custom: #cb529d;
$custom-light: #de89ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb529d",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 157
  },
  "hsl": {
    "h": 322.81,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61879,
    "c": 0.17404,
    "h": 345.2
  },
  "luminance": 0.21165
}

Semantic roles & 50–950 ramp

primary
#CB529D
secondary
#A3D5B6
accent
#DD824B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB529D

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

Preview Lab → · Contrast checker → · Palette generator →

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