#CE42A5#CE42A5

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

Color values

HEX#CE42A5
RGBrgb(206, 66, 165)
HSLhsl(318, 59%, 53%)
HSVhsv(318, 68%, 81%)
CMYKcmyk(0%, 68%, 19.9%, 19.2%)
CIE-LABlab(51.54, 64.49, -23.87)
CIE-LCHlch(51.54, 68.77, 339.69°)
OKLaboklab(60.9% 0.1929 -0.0641)
OKLCHoklch(60.9% 0.203 341.6)
XYZxyz(34.1943, 19.7382, 37.5990)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42A5 #42CE6B
analogous
#B142CE #CE42A5 #CE425F
triadic
#CE42A5 #A5CE42 #42A5CE
tetradic
#CE42A5 #CEB142 #42CE6B #425FCE
square
#CE42A5 #CEB142 #42CE6B #425FCE
split-complementary
#CE42A5 #5FCE42 #42CEB1
monochromatic
#771F5D #A72B83 #CE42A5 #DB73BC #E7A3D3

Accessibility & contrast

On white

4.24
#CE42A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#CE42A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42A5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42A5#FFFFFF#000000##000000
##CE42A51.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6CA8
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#DA446E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce42a5;
/* rgb */ color: rgb(206, 66, 165);
/* oklch */ color: oklch(60.9% 0.203 341.6);
Tailwind
colors: {
  custom: {
    50: '#e181c0',
    500: '#ce42a5',
    950: '#000000',
  },
}
SCSS
$custom: #ce42a5;
$custom-light: #e181c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42a5",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 317.571,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.20324,
    "h": 341.6
  },
  "luminance": 0.19735
}

Semantic roles & 50–950 ramp

primary
#CE42A5
secondary
#98D4A9
accent
#E27446
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE42A5

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

Preview Lab → · Contrast checker → · Palette generator →

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