#CE42B6#CE42B6

#CE42B6 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.7% C 0.215 H 335.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CE42B6
RGBrgb(206, 66, 182)
HSLhsl(310, 59%, 53%)
HSVhsv(310, 68%, 81%)
CMYKcmyk(0%, 68%, 11.7%, 19.2%)
CIE-LABlab(52.28, 66.91, -32.66)
CIE-LCHlch(52.28, 74.46, 333.98°)
OKLaboklab(61.69% 0.1954 -0.089)
OKLCHoklch(61.69% 0.215 335.5)
XYZxyz(35.8457, 20.3987, 46.2963)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42B6 #42CE5A
analogous
#A042CE #CE42B6 #CE4270
triadic
#CE42B6 #B6CE42 #42B6CE
tetradic
#CE42B6 #CEA042 #42CE5A #4270CE
square
#CE42B6 #CEA042 #42CE5A #4270CE
split-complementary
#CE42B6 #70CE42 #42CEA0
monochromatic
#771F68 #A72B92 #CE42B6 #DB73C9 #E7A3DC

Accessibility & contrast

On white

4.13
#CE42B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CE42B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42B6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42B6#FFFFFF#000000##000000
##CE42B61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#436FB9
Deuteranopia (green-blind)
#7284B3
Tritanopia (blue-blind)
#D84C76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ce42b6;
/* rgb */ color: rgb(206, 66, 182);
/* oklch */ color: oklch(61.7% 0.215 335.5);
Tailwind
colors: {
  custom: {
    50: '#e181cc',
    500: '#ce42b6',
    950: '#000000',
  },
}
SCSS
$custom: #ce42b6;
$custom-light: #e181cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42b6",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 182
  },
  "hsl": {
    "h": 310.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61689,
    "c": 0.2147,
    "h": 335.5
  },
  "luminance": 0.20396
}

Semantic roles & 50–950 ramp

primary
#CE42B6
secondary
#98D4A2
accent
#E26146
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE42B6

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

Preview Lab → · Contrast checker → · Palette generator →

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