#CE42B0#CE42B0

#CE42B0 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.211 H 337.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CE42B0
RGBrgb(206, 66, 176)
HSLhsl(313, 59%, 53%)
HSVhsv(313, 68%, 81%)
CMYKcmyk(0%, 68%, 14.6%, 19.2%)
CIE-LABlab(52.01, 66.04, -29.58)
CIE-LCHlch(52.01, 72.36, 335.87°)
OKLaboklab(61.4% 0.1946 -0.0802)
OKLCHoklch(61.4% 0.211 337.6)
XYZxyz(35.2389, 20.1560, 43.1005)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42B0 #42CE60
analogous
#A642CE #CE42B0 #CE426A
triadic
#CE42B0 #B0CE42 #42B0CE
tetradic
#CE42B0 #CEA642 #42CE60 #426ACE
square
#CE42B0 #CEA642 #42CE60 #426ACE
split-complementary
#CE42B0 #6ACE42 #42CEA6
monochromatic
#771F64 #A72B8D #CE42B0 #DB73C4 #E7A3D9

Accessibility & contrast

On white

4.17
#CE42B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CE42B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42B0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42B0#FFFFFF#000000##000000
##CE42B01.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB3
Deuteranopia (green-blind)
#7484AD
Tritanopia (blue-blind)
#D94973
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce42b0;
/* rgb */ color: rgb(206, 66, 176);
/* oklch */ color: oklch(61.4% 0.211 337.6);
Tailwind
colors: {
  custom: {
    50: '#e181c8',
    500: '#ce42b0',
    950: '#000000',
  },
}
SCSS
$custom: #ce42b0;
$custom-light: #e181c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42b0",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 312.857,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.21052,
    "h": 337.6
  },
  "luminance": 0.20153
}

Semantic roles & 50–950 ramp

primary
#CE42B0
secondary
#98D4A5
accent
#E26746
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE42B0

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

Preview Lab → · Contrast checker → · Palette generator →

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