#CE42AD#CE42AD

#CE42AD is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.3% C 0.208 H 338.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CE42AD
RGBrgb(206, 66, 173)
HSLhsl(314, 59%, 53%)
HSVhsv(314, 68%, 81%)
CMYKcmyk(0%, 68%, 16%, 19.2%)
CIE-LABlab(51.88, 65.61, -28.04)
CIE-LCHlch(51.88, 71.35, 336.86°)
OKLaboklab(61.26% 0.1942 -0.0758)
OKLCHoklch(61.26% 0.208 338.7)
XYZxyz(34.9454, 20.0386, 41.5545)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42AD #42CE63
analogous
#A942CE #CE42AD #CE4267
triadic
#CE42AD #ADCE42 #42ADCE
tetradic
#CE42AD #CEA942 #42CE63 #4267CE
square
#CE42AD #CEA942 #42CE63 #4267CE
split-complementary
#CE42AD #67CE42 #42CEA9
monochromatic
#771F62 #A72B8A #CE42AD #DB73C2 #E7A3D7

Accessibility & contrast

On white

4.19
#CE42AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CE42AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42AD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42AD#FFFFFF#000000##000000
##CE42AD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#496EB0
Deuteranopia (green-blind)
#7584AA
Tritanopia (blue-blind)
#D94872
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce42ad;
/* rgb */ color: rgb(206, 66, 173);
/* oklch */ color: oklch(61.3% 0.208 338.7);
Tailwind
colors: {
  custom: {
    50: '#e181c5',
    500: '#ce42ad',
    950: '#000000',
  },
}
SCSS
$custom: #ce42ad;
$custom-light: #e181c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42ad",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 314.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61264,
    "c": 0.20848,
    "h": 338.7
  },
  "luminance": 0.20035
}

Semantic roles & 50–950 ramp

primary
#CE42AD
secondary
#98D4A6
accent
#E26B46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE42AD

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

Preview Lab → · Contrast checker → · Palette generator →

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