#CE40A1#CE40A1

#CE40A1 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.5% C 0.203 H 343.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#CE40A1
RGBrgb(206, 64, 161)
HSLhsl(319, 59%, 53%)
HSVhsv(319, 69%, 81%)
CMYKcmyk(0%, 68.9%, 21.8%, 19.2%)
CIE-LABlab(51.11, 64.69, -22.17)
CIE-LCHlch(51.11, 68.38, 341.08°)
OKLaboklab(60.54% 0.1944 -0.0593)
OKLCHoklch(60.54% 0.203 343)
XYZxyz(33.7211, 19.3652, 35.6732)
Luminance0.1936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40A1 #40CE6D
analogous
#B440CE #CE40A1 #CE405A
triadic
#CE40A1 #A1CE40 #40A1CE
tetradic
#CE40A1 #CEB440 #40CE6D #405ACE
square
#CE40A1 #CEB440 #40CE6D #405ACE
split-complementary
#CE40A1 #5ACE40 #40CEB4
monochromatic
#751E5A #A62B7F #CE40A1 #DA71B9 #E7A1D1

Accessibility & contrast

On white

4.31
#CE40A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CE40A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40A1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40A1#FFFFFF#000000##000000
##CE40A11.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA4
Deuteranopia (green-blind)
#79829E
Tritanopia (blue-blind)
#DB406B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce40a1;
/* rgb */ color: rgb(206, 64, 161);
/* oklch */ color: oklch(60.5% 0.203 343.0);
Tailwind
colors: {
  custom: {
    50: '#e180bd',
    500: '#ce40a1',
    950: '#000000',
  },
}
SCSS
$custom: #ce40a1;
$custom-light: #e180bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40a1",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 319.014,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60538,
    "c": 0.20322,
    "h": 343
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

primary
#CE40A1
secondary
#96D4AA
accent
#E27745
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE40A1

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

Preview Lab → · Contrast checker → · Palette generator →

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