#CE52A2#CE52A2

#CE52A2 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.5% C 0.180 H 343.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CE52A2
RGBrgb(206, 82, 162)
HSLhsl(321, 56%, 56%)
HSVhsv(321, 60%, 81%)
CMYKcmyk(0%, 60.2%, 21.4%, 19.2%)
CIE-LABlab(53.78, 57.58, -18.67)
CIE-LCHlch(53.78, 60.53, 342.04°)
OKLaboklab(62.51% 0.1726 -0.0497)
OKLCHoklch(62.51% 0.18 343.9)
XYZxyz(34.9935, 21.7682, 36.5341)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52A2 #52CE7E
analogous
#BC52CE #CE52A2 #CE5264
triadic
#CE52A2 #A2CE52 #52A2CE
tetradic
#CE52A2 #CEBC52 #52CE7E #5264CE
square
#CE52A2 #CEBC52 #52CE7E #5264CE
split-complementary
#CE52A2 #64CE52 #52CEBC
monochromatic
#812560 #B13284 #CE52A2 #DC82BC #E9B1D5

Accessibility & contrast

On white

3.92
#CE52A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CE52A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52A2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52A2#FFFFFF#000000##000000
##CE52A21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D73A4
Deuteranopia (green-blind)
#80889F
Tritanopia (blue-blind)
#DA5273
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ce52a2;
/* rgb */ color: rgb(206, 82, 162);
/* oklch */ color: oklch(62.5% 0.180 343.9);
Tailwind
colors: {
  custom: {
    50: '#e089bd',
    500: '#ce52a2',
    950: '#000000',
  },
}
SCSS
$custom: #ce52a2;
$custom-light: #e089bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52a2",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 321.29,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62508,
    "c": 0.17955,
    "h": 343.9
  },
  "luminance": 0.21765
}

Semantic roles & 50–950 ramp

primary
#CE52A2
secondary
#A4D7B7
accent
#DF7E49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CE52A2

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

Preview Lab → · Contrast checker → · Palette generator →

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