#CE42A4#CE42A4

#CE42A4 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.9% C 0.203 H 342.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CE42A4
RGBrgb(206, 66, 164)
HSLhsl(318, 59%, 53%)
HSVhsv(318, 68%, 81%)
CMYKcmyk(0%, 68%, 20.4%, 19.2%)
CIE-LABlab(51.50, 64.35, -23.34)
CIE-LCHlch(51.50, 68.46, 340.06°)
OKLaboklab(60.86% 0.1927 -0.0626)
OKLCHoklch(60.86% 0.203 342)
XYZxyz(34.1037, 19.7019, 37.1215)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42A4 #42CE6C
analogous
#B242CE #CE42A4 #CE425E
triadic
#CE42A4 #A4CE42 #42A4CE
tetradic
#CE42A4 #CEB242 #42CE6C #425ECE
square
#CE42A4 #CEB242 #42CE6C #425ECE
split-complementary
#CE42A4 #5ECE42 #42CEB2
monochromatic
#771F5C #A72B82 #CE42A4 #DB73BB #E7A3D3

Accessibility & contrast

On white

4.25
#CE42A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CE42A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42A4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42A4#FFFFFF#000000##000000
##CE42A41.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA7
Deuteranopia (green-blind)
#7883A1
Tritanopia (blue-blind)
#DA446D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce42a4;
/* rgb */ color: rgb(206, 66, 164);
/* oklch */ color: oklch(60.9% 0.203 342.0);
Tailwind
colors: {
  custom: {
    50: '#e181bf',
    500: '#ce42a4',
    950: '#000000',
  },
}
SCSS
$custom: #ce42a4;
$custom-light: #e181bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42a4",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 318,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6086,
    "c": 0.20261,
    "h": 342
  },
  "luminance": 0.19699
}

Semantic roles & 50–950 ramp

primary
#CE42A4
secondary
#98D4AA
accent
#E27546
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE42A4

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

Preview Lab → · Contrast checker → · Palette generator →

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