#CE2FA8#CE2FA8

#CE2FA8 is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.5% C 0.226 H 339.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CE2FA8
RGBrgb(206, 47, 168)
HSLhsl(314, 63%, 50%)
HSVhsv(314, 77%, 81%)
CMYKcmyk(0%, 77.2%, 18.4%, 19.2%)
CIE-LABlab(49.48, 71.09, -28.83)
CIE-LCHlch(49.48, 76.71, 337.93°)
OKLaboklab(59.45% 0.2122 -0.0779)
OKLCHoklch(59.45% 0.226 339.8)
XYZxyz(33.5390, 17.9854, 38.7434)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2FA8 #2FCE55
analogous
#A52FCE #CE2FA8 #CE2F58
triadic
#CE2FA8 #A8CE2F #2FA8CE
tetradic
#CE2FA8 #CEA52F #2FCE55 #2F58CE
square
#CE2FA8 #CEA52F #2FCE55 #2F58CE
split-complementary
#CE2FA8 #58CE2F #2FCEA5
monochromatic
#6A1857 #9C247F #CE2FA8 #DB60BD #E691D2

Accessibility & contrast

On white

4.57
#CE2FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CE2FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE2FA8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2FA8#FFFFFF#000000##000000
##CE2FA81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AB
Deuteranopia (green-blind)
#707FA4
Tritanopia (blue-blind)
#DA3569
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ce2fa8;
/* rgb */ color: rgb(206, 47, 168);
/* oklch */ color: oklch(59.5% 0.226 339.8);
Tailwind
colors: {
  custom: {
    50: '#e179c2',
    500: '#ce2fa8',
    950: '#000000',
  },
}
SCSS
$custom: #ce2fa8;
$custom-light: #e179c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2fa8",
  "rgb": {
    "r": 206,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 314.34,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59451,
    "c": 0.22602,
    "h": 339.8
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#CE2FA8
secondary
#88D199
accent
#E66942
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CE2FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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