#CE42A8#CE42A8

#CE42A8 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.0% C 0.205 H 340.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CE42A8
RGBrgb(206, 66, 168)
HSLhsl(316, 59%, 53%)
HSVhsv(316, 68%, 81%)
CMYKcmyk(0%, 68%, 18.4%, 19.2%)
CIE-LABlab(51.67, 64.90, -25.44)
CIE-LCHlch(51.67, 69.71, 338.60°)
OKLaboklab(61.04% 0.1934 -0.0685)
OKLCHoklch(61.04% 0.205 340.5)
XYZxyz(34.4706, 19.8487, 39.0540)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42A8 #42CE68
analogous
#AE42CE #CE42A8 #CE4262
triadic
#CE42A8 #A8CE42 #42A8CE
tetradic
#CE42A8 #CEAE42 #42CE68 #4262CE
square
#CE42A8 #CEAE42 #42CE68 #4262CE
split-complementary
#CE42A8 #62CE42 #42CEAE
monochromatic
#771F5F #A72B86 #CE42A8 #DB73BE #E7A3D5

Accessibility & contrast

On white

4.23
#CE42A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CE42A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42A8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42A8#FFFFFF#000000##000000
##CE42A81.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6DAB
Deuteranopia (green-blind)
#7783A5
Tritanopia (blue-blind)
#DA456F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce42a8;
/* rgb */ color: rgb(206, 66, 168);
/* oklch */ color: oklch(61.0% 0.205 340.5);
Tailwind
colors: {
  custom: {
    50: '#e181c2',
    500: '#ce42a8',
    950: '#000000',
  },
}
SCSS
$custom: #ce42a8;
$custom-light: #e181c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42a8",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 168
  },
  "hsl": {
    "h": 316.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61037,
    "c": 0.20518,
    "h": 340.5
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#CE42A8
secondary
#98D4A8
accent
#E27046
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE42A8

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

Preview Lab → · Contrast checker → · Palette generator →

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