#CE517A#CE517A

#CE517A is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.0% C 0.162 H 2.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CE517A
RGBrgb(206, 81, 122)
HSLhsl(340, 56%, 56%)
HSVhsv(340, 61%, 81%)
CMYKcmyk(0%, 60.7%, 40.8%, 19.2%)
CIE-LABlab(52.30, 53.10, 2.82)
CIE-LCHlch(52.30, 53.17, 3.04°)
OKLaboklab(60.98% 0.162 0.0079)
OKLCHoklch(60.98% 0.162 2.8)
XYZxyz(31.9109, 20.4154, 20.6687)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE517A #51CEA5
analogous
#CE51B9 #CE517A #CE6751
triadic
#CE517A #7ACE51 #517ACE
tetradic
#CE517A #B9CE51 #51CEA5 #6751CE
square
#CE517A #B9CE51 #51CEA5 #6751CE
split-complementary
#CE517A #51CE67 #51B9CE
monochromatic
#802442 #B0325B #CE517A #DB819F #E9B1C3

Accessibility & contrast

On white

4.13
#CE517A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CE517A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE517A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE517A#FFFFFF#000000##000000
##CE517A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#696E7B
Deuteranopia (green-blind)
#8A8677
Tritanopia (blue-blind)
#DE4361
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ce517a;
/* rgb */ color: rgb(206, 81, 122);
/* oklch */ color: oklch(61.0% 0.162 2.8);
Tailwind
colors: {
  custom: {
    50: '#e188a0',
    500: '#ce517a',
    950: '#000000',
  },
}
SCSS
$custom: #ce517a;
$custom-light: #e188a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce517a",
  "rgb": {
    "r": 206,
    "g": 81,
    "b": 122
  },
  "hsl": {
    "h": 340.32,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60982,
    "c": 0.16221,
    "h": 2.8
  },
  "luminance": 0.20412
}

Semantic roles & 50–950 ramp

primary
#CE517A
secondary
#A4D7C6
accent
#DFAE48
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CE517A

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

Preview Lab → · Contrast checker → · Palette generator →

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