#CE52B2#CE52B2

#CE52B2 is a light, vivid pink. Relative luminance 0.224; OKLCH L 63.2% C 0.190 H 337.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#CE52B2
RGBrgb(206, 82, 178)
HSLhsl(314, 56%, 56%)
HSVhsv(314, 60%, 81%)
CMYKcmyk(0%, 60.2%, 13.6%, 19.2%)
CIE-LABlab(54.42, 59.91, -27.01)
CIE-LCHlch(54.42, 65.72, 335.73°)
OKLaboklab(63.19% 0.1759 -0.0731)
OKLCHoklch(63.19% 0.19 337.4)
XYZxyz(36.5073, 22.3737, 44.5066)
Luminance0.2237 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52B2 #52CE6E
analogous
#AC52CE #CE52B2 #CE5274
triadic
#CE52B2 #B2CE52 #52B2CE
tetradic
#CE52B2 #CEAC52 #52CE6E #5274CE
square
#CE52B2 #CEAC52 #52CE6E #5274CE
split-complementary
#CE52B2 #74CE52 #52CEAC
monochromatic
#81256C #B13294 #CE52B2 #DC82C7 #E9B1DC

Accessibility & contrast

On white

3.84
#CE52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#CE52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52B2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52B2#FFFFFF#000000##000000
##CE52B21.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5576B5
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#D8577B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ce52b2;
/* rgb */ color: rgb(206, 82, 178);
/* oklch */ color: oklch(63.2% 0.190 337.4);
Tailwind
colors: {
  custom: {
    50: '#e08ac9',
    500: '#ce52b2',
    950: '#000000',
  },
}
SCSS
$custom: #ce52b2;
$custom-light: #e08ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52b2",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 313.548,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.19043,
    "h": 337.4
  },
  "luminance": 0.22371
}

Semantic roles & 50–950 ramp

primary
#CE52B2
secondary
#A4D7B0
accent
#DF6B49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CE52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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