#CE51AF#CE51AF

#CE51AF is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.190 H 338.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CE51AF
RGBrgb(206, 81, 175)
HSLhsl(315, 56%, 56%)
HSVhsv(315, 61%, 81%)
CMYKcmyk(0%, 60.7%, 15%, 19.2%)
CIE-LABlab(54.14, 59.89, -25.71)
CIE-LCHlch(54.14, 65.18, 336.77°)
OKLaboklab(62.94% 0.1766 -0.0694)
OKLCHoklch(62.94% 0.19 338.5)
XYZxyz(36.1345, 22.1049, 42.9127)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE51AF #51CE70
analogous
#AF51CE #CE51AF #CE5171
triadic
#CE51AF #AFCE51 #51AFCE
tetradic
#CE51AF #CEAF51 #51CE70 #5171CE
square
#CE51AF #CEAF51 #51CE70 #5171CE
split-complementary
#CE51AF #71CE51 #51CEAF
monochromatic
#80246A #B03291 #CE51AF #DB81C5 #E9B1DB

Accessibility & contrast

On white

3.87
#CE51AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CE51AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE51AF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE51AF#FFFFFF#000000##000000
##CE51AF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5675B2
Deuteranopia (green-blind)
#7B89AC
Tritanopia (blue-blind)
#D95579
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ce51af;
/* rgb */ color: rgb(206, 81, 175);
/* oklch */ color: oklch(62.9% 0.190 338.5);
Tailwind
colors: {
  custom: {
    50: '#e089c7',
    500: '#ce51af',
    950: '#000000',
  },
}
SCSS
$custom: #ce51af;
$custom-light: #e089c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce51af",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 314.88,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62941,
    "c": 0.18972,
    "h": 338.5
  },
  "luminance": 0.22102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE51AF

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

Preview Lab → · Contrast checker → · Palette generator →

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