#CE42A3#CE42A3

#CE42A3 is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.8% C 0.202 H 342.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CE42A3
RGBrgb(206, 66, 163)
HSLhsl(318, 59%, 53%)
HSVhsv(318, 68%, 81%)
CMYKcmyk(0%, 68%, 20.9%, 19.2%)
CIE-LABlab(51.46, 64.22, -22.82)
CIE-LCHlch(51.46, 68.15, 340.44°)
OKLaboklab(60.82% 0.1925 -0.0611)
OKLCHoklch(60.82% 0.202 342.4)
XYZxyz(34.0137, 19.6659, 36.6478)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42A3 #42CE6D
analogous
#B342CE #CE42A3 #CE425D
triadic
#CE42A3 #A3CE42 #42A3CE
tetradic
#CE42A3 #CEB342 #42CE6D #425DCE
square
#CE42A3 #CEB342 #42CE6D #425DCE
split-complementary
#CE42A3 #5DCE42 #42CEB3
monochromatic
#771F5C #A72B81 #CE42A3 #DB73BB #E7A3D2

Accessibility & contrast

On white

4.26
#CE42A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CE42A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42A3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42A3#FFFFFF#000000##000000
##CE42A31.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6CA6
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#DB436D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce42a3;
/* rgb */ color: rgb(206, 66, 163);
/* oklch */ color: oklch(60.8% 0.202 342.4);
Tailwind
colors: {
  custom: {
    50: '#e181be',
    500: '#ce42a3',
    950: '#000000',
  },
}
SCSS
$custom: #ce42a3;
$custom-light: #e181be;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42a3",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 318.429,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60817,
    "c": 0.20199,
    "h": 342.4
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE42A3

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

Preview Lab → · Contrast checker → · Palette generator →

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