#CE42AF#CE42AF

#CE42AF is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.4% C 0.210 H 337.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CE42AF
RGBrgb(206, 66, 175)
HSLhsl(313, 59%, 53%)
HSVhsv(313, 68%, 81%)
CMYKcmyk(0%, 68%, 15%, 19.2%)
CIE-LABlab(51.97, 65.89, -29.07)
CIE-LCHlch(51.97, 72.02, 336.19°)
OKLaboklab(61.36% 0.1945 -0.0788)
OKLCHoklch(61.36% 0.21 337.9)
XYZxyz(35.1403, 20.1166, 42.5813)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42AF #42CE61
analogous
#A742CE #CE42AF #CE4269
triadic
#CE42AF #AFCE42 #42AFCE
tetradic
#CE42AF #CEA742 #42CE61 #4269CE
square
#CE42AF #CEA742 #42CE61 #4269CE
split-complementary
#CE42AF #69CE42 #42CEA7
monochromatic
#771F63 #A72B8C #CE42AF #DB73C4 #E7A3D8

Accessibility & contrast

On white

4.18
#CE42AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CE42AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42AF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42AF#FFFFFF#000000##000000
##CE42AF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#7484AC
Tritanopia (blue-blind)
#D94873
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce42af;
/* rgb */ color: rgb(206, 66, 175);
/* oklch */ color: oklch(61.4% 0.210 337.9);
Tailwind
colors: {
  custom: {
    50: '#e181c7',
    500: '#ce42af',
    950: '#000000',
  },
}
SCSS
$custom: #ce42af;
$custom-light: #e181c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42af",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 313.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61356,
    "c": 0.20984,
    "h": 337.9
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE42AF

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

Preview Lab → · Contrast checker → · Palette generator →

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