#CE52A5#CE52A5

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

Color values

HEX#CE52A5
RGBrgb(206, 82, 165)
HSLhsl(320, 56%, 56%)
HSVhsv(320, 60%, 81%)
CMYKcmyk(0%, 60.2%, 19.9%, 19.2%)
CIE-LABlab(53.90, 58.01, -20.25)
CIE-LCHlch(53.90, 61.44, 340.76°)
OKLaboklab(62.63% 0.1732 -0.0541)
OKLCHoklch(62.63% 0.181 342.7)
XYZxyz(35.2634, 21.8762, 37.9553)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52A5 #52CE7B
analogous
#B952CE #CE52A5 #CE5267
triadic
#CE52A5 #A5CE52 #52A5CE
tetradic
#CE52A5 #CEB952 #52CE7B #5267CE
square
#CE52A5 #CEB952 #52CE7B #5267CE
split-complementary
#CE52A5 #67CE52 #52CEB9
monochromatic
#812562 #B13287 #CE52A5 #DC82BE #E9B1D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE52A5#FFFFFF#000000##000000
##CE52A51.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)
#5B74A8
Deuteranopia (green-blind)
#7F88A2
Tritanopia (blue-blind)
#DA5374
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ce52a5;
/* rgb */ color: rgb(206, 82, 165);
/* oklch */ color: oklch(62.6% 0.181 342.7);
Tailwind
colors: {
  custom: {
    50: '#e089bf',
    500: '#ce52a5',
    950: '#000000',
  },
}
SCSS
$custom: #ce52a5;
$custom-light: #e089bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52a5",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 319.839,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62631,
    "c": 0.18148,
    "h": 342.7
  },
  "luminance": 0.21873
}

Semantic roles & 50–950 ramp

primary
#CE52A5
secondary
#A4D7B5
accent
#DF7A49
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CE52A5

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

Preview Lab → · Contrast checker → · Palette generator →

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