#CE51B3#CE51B3

#CE51B3 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.1% C 0.193 H 337.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CE51B3
RGBrgb(206, 81, 179)
HSLhsl(313, 56%, 56%)
HSVhsv(313, 61%, 81%)
CMYKcmyk(0%, 60.7%, 13.1%, 19.2%)
CIE-LABlab(54.31, 60.50, -27.77)
CIE-LCHlch(54.31, 66.57, 335.34°)
OKLaboklab(63.12% 0.1773 -0.0752)
OKLCHoklch(63.12% 0.193 337)
XYZxyz(36.5332, 22.2643, 45.0124)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51B3 #51CE6C
analogous
#AB51CE #CE51B3 #CE5175
triadic
#CE51B3 #B3CE51 #51B3CE
tetradic
#CE51B3 #CEAB51 #51CE6C #5175CE
square
#CE51B3 #CEAB51 #51CE6C #5175CE
split-complementary
#CE51B3 #75CE51 #51CEAB
monochromatic
#80246D #B03295 #CE51B3 #DB81C8 #E9B1DD

Accessibility & contrast

On white

3.85
#CE51B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CE51B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51B3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51B3#FFFFFF#000000##000000
##CE51B31.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B6
Deuteranopia (green-blind)
#7A89B0
Tritanopia (blue-blind)
#D8577B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ce51b3;
/* rgb */ color: rgb(206, 81, 179);
/* oklch */ color: oklch(63.1% 0.193 337.0);
Tailwind
colors: {
  custom: {
    50: '#e089ca',
    500: '#ce51b3',
    950: '#000000',
  },
}
SCSS
$custom: #ce51b3;
$custom-light: #e089ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51b3",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 312.96,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6312,
    "c": 0.19259,
    "h": 337
  },
  "luminance": 0.22261
}

Semantic roles & 50–950 ramp

primary
#CE51B3
secondary
#A4D7AF
accent
#DF6948
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CE51B3

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

Preview Lab → · Contrast checker → · Palette generator →

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