#CE51B2#CE51B2

#CE51B2 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.1% C 0.192 H 337.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CE51B2
RGBrgb(206, 81, 178)
HSLhsl(313, 56%, 56%)
HSVhsv(313, 61%, 81%)
CMYKcmyk(0%, 60.7%, 13.6%, 19.2%)
CIE-LABlab(54.26, 60.34, -27.26)
CIE-LCHlch(54.26, 66.21, 335.69°)
OKLaboklab(63.08% 0.1771 -0.0738)
OKLCHoklch(63.08% 0.192 337.4)
XYZxyz(36.4324, 22.2240, 44.4817)
Luminance0.2222 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51B2 #51CE6D
analogous
#AC51CE #CE51B2 #CE5174
triadic
#CE51B2 #B2CE51 #51B2CE
tetradic
#CE51B2 #CEAC51 #51CE6D #5174CE
square
#CE51B2 #CEAC51 #51CE6D #5174CE
split-complementary
#CE51B2 #74CE51 #51CEAC
monochromatic
#80246C #B03294 #CE51B2 #DB81C7 #E9B1DC

Accessibility & contrast

On white

3.86
#CE51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CE51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51B2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51B2#FFFFFF#000000##000000
##CE51B21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B5
Deuteranopia (green-blind)
#7A89AF
Tritanopia (blue-blind)
#D8567A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ce51b2;
/* rgb */ color: rgb(206, 81, 178);
/* oklch */ color: oklch(63.1% 0.192 337.4);
Tailwind
colors: {
  custom: {
    50: '#e089c9',
    500: '#ce51b2',
    950: '#000000',
  },
}
SCSS
$custom: #ce51b2;
$custom-light: #e089c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51b2",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 313.44,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63075,
    "c": 0.19186,
    "h": 337.4
  },
  "luminance": 0.22221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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