#CE51AC#CE51AC

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

Color values

HEX#CE51AC
RGBrgb(206, 81, 172)
HSLhsl(316, 56%, 56%)
HSVhsv(316, 61%, 81%)
CMYKcmyk(0%, 60.7%, 16.5%, 19.2%)
CIE-LABlab(54.01, 59.45, -24.15)
CIE-LCHlch(54.01, 64.17, 337.89°)
OKLaboklab(62.81% 0.176 -0.065)
OKLCHoklch(62.81% 0.188 339.7)
XYZxyz(35.8431, 21.9883, 41.3781)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51AC #51CE73
analogous
#B251CE #CE51AC #CE516E
triadic
#CE51AC #ACCE51 #51ACCE
tetradic
#CE51AC #CEB251 #51CE73 #516ECE
square
#CE51AC #CEB251 #51CE73 #516ECE
split-complementary
#CE51AC #6ECE51 #51CEB2
monochromatic
#802467 #B0328E #CE51AC #DB81C3 #E9B1DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE51AC#FFFFFF#000000##000000
##CE51AC1.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)
#5775AF
Deuteranopia (green-blind)
#7D88A9
Tritanopia (blue-blind)
#D95477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ce51ac;
/* rgb */ color: rgb(206, 81, 172);
/* oklch */ color: oklch(62.8% 0.188 339.7);
Tailwind
colors: {
  custom: {
    50: '#e089c5',
    500: '#ce51ac',
    950: '#000000',
  },
}
SCSS
$custom: #ce51ac;
$custom-light: #e089c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51ac",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 316.32,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6281,
    "c": 0.18763,
    "h": 339.7
  },
  "luminance": 0.21985
}

Semantic roles & 50–950 ramp

primary
#CE51AC
secondary
#A4D7B2
accent
#DF7148
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CE51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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