#CE51B1#CE51B1

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

Color values

HEX#CE51B1
RGBrgb(206, 81, 177)
HSLhsl(314, 56%, 56%)
HSVhsv(314, 61%, 81%)
CMYKcmyk(0%, 60.7%, 14.1%, 19.2%)
CIE-LABlab(54.22, 60.19, -26.74)
CIE-LCHlch(54.22, 65.87, 336.05°)
OKLaboklab(63.03% 0.1769 -0.0723)
OKLCHoklch(63.03% 0.191 337.8)
XYZxyz(36.3324, 22.1840, 43.9548)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51B1 #51CE6E
analogous
#AD51CE #CE51B1 #CE5173
triadic
#CE51B1 #B1CE51 #51B1CE
tetradic
#CE51B1 #CEAD51 #51CE6E #5173CE
square
#CE51B1 #CEAD51 #51CE6E #5173CE
split-complementary
#CE51B1 #73CE51 #51CEAD
monochromatic
#80246B #B03293 #CE51B1 #DB81C6 #E9B1DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE51B1#FFFFFF#000000##000000
##CE51B11.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)
#5575B4
Deuteranopia (green-blind)
#7B89AE
Tritanopia (blue-blind)
#D8567A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ce51b1;
/* rgb */ color: rgb(206, 81, 177);
/* oklch */ color: oklch(63.0% 0.191 337.8);
Tailwind
colors: {
  custom: {
    50: '#e089c8',
    500: '#ce51b1',
    950: '#000000',
  },
}
SCSS
$custom: #ce51b1;
$custom-light: #e089c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51b1",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 177
  },
  "hsl": {
    "h": 313.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6303,
    "c": 0.19114,
    "h": 337.8
  },
  "luminance": 0.22181
}

Semantic roles & 50–950 ramp

primary
#CE51B1
secondary
#A4D7B0
accent
#DF6B48
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CE51B1

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

Preview Lab → · Contrast checker → · Palette generator →

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