#CE40A4#CE40A4

#CE40A4 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.7% C 0.205 H 341.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CE40A4
RGBrgb(206, 64, 164)
HSLhsl(318, 59%, 53%)
HSVhsv(318, 69%, 81%)
CMYKcmyk(0%, 68.9%, 20.4%, 19.2%)
CIE-LABlab(51.24, 65.09, -23.75)
CIE-LCHlch(51.24, 69.29, 339.96°)
OKLaboklab(60.67% 0.1949 -0.0637)
OKLCHoklch(60.67% 0.205 341.9)
XYZxyz(33.9889, 19.4723, 37.0833)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40A4 #40CE6A
analogous
#B140CE #CE40A4 #CE405D
triadic
#CE40A4 #A4CE40 #40A4CE
tetradic
#CE40A4 #CEB140 #40CE6A #405DCE
square
#CE40A4 #CEB140 #40CE6A #405DCE
split-complementary
#CE40A4 #5DCE40 #40CEB1
monochromatic
#751E5C #A62B82 #CE40A4 #DA71BB #E7A1D2

Accessibility & contrast

On white

4.29
#CE40A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CE40A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40A4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40A4#FFFFFF#000000##000000
##CE40A41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA7
Deuteranopia (green-blind)
#7882A1
Tritanopia (blue-blind)
#DA426C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce40a4;
/* rgb */ color: rgb(206, 64, 164);
/* oklch */ color: oklch(60.7% 0.205 341.9);
Tailwind
colors: {
  custom: {
    50: '#e180bf',
    500: '#ce40a4',
    950: '#000000',
  },
}
SCSS
$custom: #ce40a4;
$custom-light: #e180bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40a4",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 164
  },
  "hsl": {
    "h": 317.746,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60668,
    "c": 0.20509,
    "h": 341.9
  },
  "luminance": 0.19469
}

Semantic roles & 50–950 ramp

primary
#CE40A4
secondary
#96D4A8
accent
#E27445
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE40A4

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

Preview Lab → · Contrast checker → · Palette generator →

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