#CE42A1#CE42A1

#CE42A1 is a mid, highly saturated pink. Relative luminance 0.196; OKLCH L 60.7% C 0.201 H 343.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CE42A1
RGBrgb(206, 66, 161)
HSLhsl(319, 59%, 53%)
HSVhsv(319, 68%, 81%)
CMYKcmyk(0%, 68%, 21.8%, 19.2%)
CIE-LABlab(51.38, 63.95, -21.76)
CIE-LCHlch(51.38, 67.55, 341.21°)
OKLaboklab(60.73% 0.1921 -0.0582)
OKLCHoklch(60.73% 0.201 343.2)
XYZxyz(33.8360, 19.5948, 35.7115)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE42A1 #42CE6F
analogous
#B542CE #CE42A1 #CE425B
triadic
#CE42A1 #A1CE42 #42A1CE
tetradic
#CE42A1 #CEB542 #42CE6F #425BCE
square
#CE42A1 #CEB542 #42CE6F #425BCE
split-complementary
#CE42A1 #5BCE42 #42CEB5
monochromatic
#771F5B #A72B80 #CE42A1 #DB73B9 #E7A3D1

Accessibility & contrast

On white

4.27
#CE42A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CE42A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE42A1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE42A1#FFFFFF#000000##000000
##CE42A11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA4
Deuteranopia (green-blind)
#79839E
Tritanopia (blue-blind)
#DB426C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce42a1;
/* rgb */ color: rgb(206, 66, 161);
/* oklch */ color: oklch(60.7% 0.201 343.2);
Tailwind
colors: {
  custom: {
    50: '#e181bd',
    500: '#ce42a1',
    950: '#000000',
  },
}
SCSS
$custom: #ce42a1;
$custom-light: #e181bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce42a1",
  "rgb": {
    "r": 206,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 319.286,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.20074,
    "h": 343.2
  },
  "luminance": 0.19591
}

Semantic roles & 50–950 ramp

primary
#CE42A1
secondary
#98D4AB
accent
#E27846
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE42A1

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

Preview Lab → · Contrast checker → · Palette generator →

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