#CE51A5#CE51A5

#CE51A5 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.5% C 0.183 H 342.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CE51A5
RGBrgb(206, 81, 165)
HSLhsl(320, 56%, 56%)
HSVhsv(320, 61%, 81%)
CMYKcmyk(0%, 60.7%, 19.9%, 19.2%)
CIE-LABlab(53.74, 58.44, -20.49)
CIE-LCHlch(53.74, 61.93, 340.68°)
OKLaboklab(62.51% 0.1746 -0.0547)
OKLCHoklch(62.51% 0.183 342.6)
XYZxyz(35.1885, 21.7264, 37.9304)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51A5 #51CE7A
analogous
#B951CE #CE51A5 #CE5167
triadic
#CE51A5 #A5CE51 #51A5CE
tetradic
#CE51A5 #CEB951 #51CE7A #5167CE
square
#CE51A5 #CEB951 #51CE7A #5167CE
split-complementary
#CE51A5 #67CE51 #51CEB9
monochromatic
#802462 #B03287 #CE51A5 #DB81BE #E9B1D6

Accessibility & contrast

On white

3.93
#CE51A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CE51A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51A5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51A5#FFFFFF#000000##000000
##CE51A51.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A8
Deuteranopia (green-blind)
#7F88A2
Tritanopia (blue-blind)
#DA5274
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ce51a5;
/* rgb */ color: rgb(206, 81, 165);
/* oklch */ color: oklch(62.5% 0.183 342.6);
Tailwind
colors: {
  custom: {
    50: '#e089bf',
    500: '#ce51a5',
    950: '#000000',
  },
}
SCSS
$custom: #ce51a5;
$custom-light: #e089bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51a5",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 165
  },
  "hsl": {
    "h": 319.68,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62513,
    "c": 0.18293,
    "h": 342.6
  },
  "luminance": 0.21723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE51A5

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

Preview Lab → · Contrast checker → · Palette generator →

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