#CE42AE#CE42AE

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

Color values

HEX#CE42AE
RGBrgb(206, 66, 174)
HSLhsl(314, 59%, 53%)
HSVhsv(314, 68%, 81%)
CMYKcmyk(0%, 68%, 15.5%, 19.2%)
CIE-LABlab(51.92, 65.75, -28.55)
CIE-LCHlch(51.92, 71.68, 336.53°)
OKLaboklab(61.31% 0.1944 -0.0773)
OKLCHoklch(61.31% 0.209 338.3)
XYZxyz(35.0425, 20.0774, 42.0660)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42AE #42CE62
analogous
#A842CE #CE42AE #CE4268
triadic
#CE42AE #AECE42 #42AECE
tetradic
#CE42AE #CEA842 #42CE62 #4268CE
square
#CE42AE #CEA842 #42CE62 #4268CE
split-complementary
#CE42AE #68CE42 #42CEA8
monochromatic
#771F63 #A72B8B #CE42AE #DB73C3 #E7A3D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE42AE#FFFFFF#000000##000000
##CE42AE1.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)
#486EB1
Deuteranopia (green-blind)
#7584AB
Tritanopia (blue-blind)
#D94872
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce42ae;
/* rgb */ color: rgb(206, 66, 174);
/* oklch */ color: oklch(61.3% 0.209 338.3);
Tailwind
colors: {
  custom: {
    50: '#e181c6',
    500: '#ce42ae',
    950: '#000000',
  },
}
SCSS
$custom: #ce42ae;
$custom-light: #e181c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42ae",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 313.714,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.20916,
    "h": 338.3
  },
  "luminance": 0.20074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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