#CB52A2#CB52A2

#CB52A2 is a light, vivid pink. Relative luminance 0.213; OKLCH L 62.1% C 0.177 H 343.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CB52A2
RGBrgb(203, 82, 162)
HSLhsl(320, 54%, 56%)
HSVhsv(320, 60%, 80%)
CMYKcmyk(0%, 59.6%, 20.2%, 20.4%)
CIE-LABlab(53.32, 56.72, -19.41)
CIE-LCHlch(53.32, 59.94, 341.11°)
OKLaboklab(62.08% 0.1695 -0.0518)
OKLCHoklch(62.08% 0.177 343)
XYZxyz(34.1684, 21.3428, 36.4955)
Luminance0.2134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52A2 #52CB7B
analogous
#B852CB #CB52A2 #CB5265
triadic
#CB52A2 #A2CB52 #52A2CB
tetradic
#CB52A2 #CBB852 #52CB7B #5265CB
square
#CB52A2 #CBB852 #52CB7B #5265CB
split-complementary
#CB52A2 #65CB52 #52CBB8
monochromatic
#7D265F #AC3483 #CB52A2 #D981BB #E7B0D5

Accessibility & contrast

On white

3.99
#CB52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CB52A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52A2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52A2#FFFFFF#000000##000000
##CB52A21.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A4
Deuteranopia (green-blind)
#7E879F
Tritanopia (blue-blind)
#D75273
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cb52a2;
/* rgb */ color: rgb(203, 82, 162);
/* oklch */ color: oklch(62.1% 0.177 343.0);
Tailwind
colors: {
  custom: {
    50: '#de89bd',
    500: '#cb52a2',
    950: '#000000',
  },
}
SCSS
$custom: #cb52a2;
$custom-light: #de89bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52a2",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 320.331,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6208,
    "c": 0.17721,
    "h": 343
  },
  "luminance": 0.2134
}

Semantic roles & 50–950 ramp

primary
#CB52A2
secondary
#A3D5B4
accent
#DD7C4B
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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