#CE42A9#CE42A9

#CE42A9 is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.1% C 0.206 H 340.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CE42A9
RGBrgb(206, 66, 169)
HSLhsl(316, 59%, 53%)
HSVhsv(316, 68%, 81%)
CMYKcmyk(0%, 68%, 18%, 19.2%)
CIE-LABlab(51.71, 65.04, -25.96)
CIE-LCHlch(51.71, 70.03, 338.24°)
OKLaboklab(61.08% 0.1936 -0.07)
OKLCHoklch(61.08% 0.206 340.1)
XYZxyz(34.5641, 19.8861, 39.5465)
Luminance0.1988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42A9 #42CE67
analogous
#AD42CE #CE42A9 #CE4263
triadic
#CE42A9 #A9CE42 #42A9CE
tetradic
#CE42A9 #CEAD42 #42CE67 #4263CE
square
#CE42A9 #CEAD42 #42CE67 #4263CE
split-complementary
#CE42A9 #63CE42 #42CEAD
monochromatic
#771F60 #A72B87 #CE42A9 #DB73BF #E7A3D5

Accessibility & contrast

On white

4.22
#CE42A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CE42A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42A9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42A9#FFFFFF#000000##000000
##CE42A91.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6DAC
Deuteranopia (green-blind)
#7783A6
Tritanopia (blue-blind)
#DA4670
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce42a9;
/* rgb */ color: rgb(206, 66, 169);
/* oklch */ color: oklch(61.1% 0.206 340.1);
Tailwind
colors: {
  custom: {
    50: '#e181c2',
    500: '#ce42a9',
    950: '#000000',
  },
}
SCSS
$custom: #ce42a9;
$custom-light: #e181c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42a9",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 169
  },
  "hsl": {
    "h": 315.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.20582,
    "h": 340.1
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#CE42A9
secondary
#98D4A8
accent
#E26F46
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE42A9

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

Preview Lab → · Contrast checker → · Palette generator →

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