#CB52AF#CB52AF

#CB52AF is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.6% C 0.186 H 337.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CB52AF
RGBrgb(203, 82, 175)
HSLhsl(314, 54%, 56%)
HSVhsv(314, 60%, 80%)
CMYKcmyk(0%, 59.6%, 13.8%, 20.4%)
CIE-LABlab(53.85, 58.63, -26.20)
CIE-LCHlch(53.85, 64.22, 335.92°)
OKLaboklab(62.64% 0.1722 -0.0708)
OKLCHoklch(62.64% 0.186 337.6)
XYZxyz(35.3842, 21.8291, 42.8990)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB52AF #52CB6E
analogous
#AA52CB #CB52AF #CB5272
triadic
#CB52AF #AFCB52 #52AFCB
tetradic
#CB52AF #CBAA52 #52CB6E #5272CB
square
#CB52AF #CBAA52 #52CB6E #5272CB
split-complementary
#CB52AF #72CB52 #52CBAA
monochromatic
#7D2669 #AC3490 #CB52AF #D981C5 #E7B0DB

Accessibility & contrast

On white

3.91
#CB52AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CB52AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB52AF
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB52AF#FFFFFF#000000##000000
##CB52AF1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5575B2
Deuteranopia (green-blind)
#7A88AC
Tritanopia (blue-blind)
#D55779
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb52af;
/* rgb */ color: rgb(203, 82, 175);
/* oklch */ color: oklch(62.6% 0.186 337.6);
Tailwind
colors: {
  custom: {
    50: '#de89c7',
    500: '#cb52af',
    950: '#000000',
  },
}
SCSS
$custom: #cb52af;
$custom-light: #de89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb52af",
  "rgb": {
    "r": 203,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 313.884,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62637,
    "c": 0.18616,
    "h": 337.6
  },
  "luminance": 0.21826
}

Semantic roles & 50–950 ramp

primary
#CB52AF
secondary
#A3D5AF
accent
#DD6D4B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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