#CE40AA#CE40AA

#CE40AA is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.9% C 0.209 H 339.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CE40AA
RGBrgb(206, 64, 170)
HSLhsl(315, 59%, 53%)
HSVhsv(315, 69%, 81%)
CMYKcmyk(0%, 68.9%, 17.5%, 19.2%)
CIE-LABlab(51.49, 65.91, -26.88)
CIE-LCHlch(51.49, 71.19, 337.81°)
OKLaboklab(60.94% 0.1959 -0.0726)
OKLCHoklch(60.94% 0.209 339.7)
XYZxyz(34.5435, 19.6941, 40.0045)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40AA #40CE64
analogous
#AB40CE #CE40AA #CE4063
triadic
#CE40AA #AACE40 #40AACE
tetradic
#CE40AA #CEAB40 #40CE64 #4063CE
square
#CE40AA #CEAB40 #40CE64 #4063CE
split-complementary
#CE40AA #63CE40 #40CEAB
monochromatic
#751E5F #A62B87 #CE40AA #DA71C0 #E7A1D5

Accessibility & contrast

On white

4.25
#CE40AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CE40AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40AA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40AA#FFFFFF#000000##000000
##CE40AA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#DA4570
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ce40aa;
/* rgb */ color: rgb(206, 64, 170);
/* oklch */ color: oklch(60.9% 0.209 339.7);
Tailwind
colors: {
  custom: {
    50: '#e180c3',
    500: '#ce40aa',
    950: '#000000',
  },
}
SCSS
$custom: #ce40aa;
$custom-light: #e180c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40aa",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 170
  },
  "hsl": {
    "h": 315.211,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60936,
    "c": 0.20894,
    "h": 339.7
  },
  "luminance": 0.19691
}

Semantic roles & 50–950 ramp

primary
#CE40AA
secondary
#96D4A6
accent
#E26D45
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE40AA

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

Preview Lab → · Contrast checker → · Palette generator →

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