#CE52A8#CE52A8

#CE52A8 is a light, vivid pink. Relative luminance 0.220; OKLCH L 62.8% C 0.183 H 341.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#CE52A8
RGBrgb(206, 82, 168)
HSLhsl(318, 56%, 56%)
HSVhsv(318, 60%, 81%)
CMYKcmyk(0%, 60.2%, 18.4%, 19.2%)
CIE-LABlab(54.01, 58.44, -21.82)
CIE-LCHlch(54.01, 62.38, 339.52°)
OKLaboklab(62.76% 0.1739 -0.0585)
OKLCHoklch(62.76% 0.183 341.4)
XYZxyz(35.5396, 21.9867, 39.4103)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52A8 #52CE78
analogous
#B652CE #CE52A8 #CE526A
triadic
#CE52A8 #A8CE52 #52A8CE
tetradic
#CE52A8 #CEB652 #52CE78 #526ACE
square
#CE52A8 #CEB652 #52CE78 #526ACE
split-complementary
#CE52A8 #6ACE52 #52CEB6
monochromatic
#812565 #B1328A #CE52A8 #DC82C0 #E9B1D8

Accessibility & contrast

On white

3.89
#CE52A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CE52A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52A8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52A8#FFFFFF#000000##000000
##CE52A81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A74AB
Deuteranopia (green-blind)
#7E89A5
Tritanopia (blue-blind)
#DA5476
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ce52a8;
/* rgb */ color: rgb(206, 82, 168);
/* oklch */ color: oklch(62.8% 0.183 341.4);
Tailwind
colors: {
  custom: {
    50: '#e089c2',
    500: '#ce52a8',
    950: '#000000',
  },
}
SCSS
$custom: #ce52a8;
$custom-light: #e089c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52a8",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 318.387,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62756,
    "c": 0.18345,
    "h": 341.4
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#CE52A8
secondary
#A4D7B4
accent
#DF7749
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CE52A8

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

Preview Lab → · Contrast checker → · Palette generator →

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