#CE47B2#CE47B2

#CE47B2 is a mid, highly saturated pink. Relative luminance 0.208; OKLCH L 62.0% C 0.206 H 337.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CE47B2
RGBrgb(206, 71, 178)
HSLhsl(312, 58%, 54%)
HSVhsv(312, 66%, 81%)
CMYKcmyk(0%, 65.5%, 13.6%, 19.2%)
CIE-LABlab(52.78, 64.44, -29.56)
CIE-LCHlch(52.78, 70.89, 335.36°)
OKLaboklab(61.99% 0.1893 -0.0802)
OKLCHoklch(61.99% 0.206 337)
XYZxyz(35.7433, 20.8457, 44.2520)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE47B2 #47CE63
analogous
#A647CE #CE47B2 #CE476F
triadic
#CE47B2 #B2CE47 #47B2CE
tetradic
#CE47B2 #CEA647 #47CE63 #476FCE
square
#CE47B2 #CEA647 #47CE63 #476FCE
split-complementary
#CE47B2 #6FCE47 #47CEA6
monochromatic
#7A2168 #AA2D90 #CE47B2 #DB77C6 #E8A8DA

Accessibility & contrast

On white

4.06
#CE47B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#CE47B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE47B2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE47B2#FFFFFF#000000##000000
##CE47B21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#D94E76
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ce47b2;
/* rgb */ color: rgb(206, 71, 178);
/* oklch */ color: oklch(62.0% 0.206 337.0);
Tailwind
colors: {
  custom: {
    50: '#e084c9',
    500: '#ce47b2',
    950: '#000000',
  },
}
SCSS
$custom: #ce47b2;
$custom-light: #e084c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce47b2",
  "rgb": {
    "r": 206,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 312.444,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6199,
    "c": 0.20556,
    "h": 337
  },
  "luminance": 0.20843
}

Semantic roles & 50–950 ramp

primary
#CE47B2
secondary
#9CD5A8
accent
#E16747
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CE47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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