#CE51AB#CE51AB

#CE51AB is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.8% C 0.187 H 340.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CE51AB
RGBrgb(206, 81, 171)
HSLhsl(317, 56%, 56%)
HSVhsv(317, 61%, 81%)
CMYKcmyk(0%, 60.7%, 17%, 19.2%)
CIE-LABlab(53.97, 59.30, -23.63)
CIE-LCHlch(53.97, 63.84, 338.27°)
OKLaboklab(62.77% 0.1758 -0.0635)
OKLCHoklch(62.77% 0.187 340.1)
XYZxyz(35.7475, 21.9500, 40.8742)
Luminance0.2195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51AB #51CE74
analogous
#B351CE #CE51AB #CE516D
triadic
#CE51AB #ABCE51 #51ABCE
tetradic
#CE51AB #CEB351 #51CE74 #516DCE
square
#CE51AB #CEB351 #51CE74 #516DCE
split-complementary
#CE51AB #6DCE51 #51CEB3
monochromatic
#802467 #B0328D #CE51AB #DB81C2 #E9B1D9

Accessibility & contrast

On white

3.90
#CE51AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CE51AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51AB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51AB#FFFFFF#000000##000000
##CE51AB1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5874AE
Deuteranopia (green-blind)
#7D88A8
Tritanopia (blue-blind)
#D95477
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ce51ab;
/* rgb */ color: rgb(206, 81, 171);
/* oklch */ color: oklch(62.8% 0.187 340.1);
Tailwind
colors: {
  custom: {
    50: '#e089c4',
    500: '#ce51ab',
    950: '#000000',
  },
}
SCSS
$custom: #ce51ab;
$custom-light: #e089c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51ab",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 316.8,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62767,
    "c": 0.18694,
    "h": 340.1
  },
  "luminance": 0.21947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE51AB

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

Preview Lab → · Contrast checker → · Palette generator →

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