#CE40A3#CE40A3

#CE40A3 is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.6% C 0.204 H 342.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CE40A3
RGBrgb(206, 64, 163)
HSLhsl(318, 59%, 53%)
HSVhsv(318, 69%, 81%)
CMYKcmyk(0%, 68.9%, 20.9%, 19.2%)
CIE-LABlab(51.19, 64.96, -23.22)
CIE-LCHlch(51.19, 68.98, 340.33°)
OKLaboklab(60.62% 0.1948 -0.0622)
OKLCHoklch(60.62% 0.204 342.3)
XYZxyz(33.8989, 19.4363, 36.6095)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40A3 #40CE6B
analogous
#B240CE #CE40A3 #CE405C
triadic
#CE40A3 #A3CE40 #40A3CE
tetradic
#CE40A3 #CEB240 #40CE6B #405CCE
square
#CE40A3 #CEB240 #40CE6B #405CCE
split-complementary
#CE40A3 #5CCE40 #40CEB2
monochromatic
#751E5B #A62B81 #CE40A3 #DA71BA #E7A1D2

Accessibility & contrast

On white

4.30
#CE40A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE40A3#FFFFFF#000000##000000
##CE40A31.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA6
Deuteranopia (green-blind)
#7882A0
Tritanopia (blue-blind)
#DB416C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce40a3;
/* rgb */ color: rgb(206, 64, 163);
/* oklch */ color: oklch(60.6% 0.204 342.3);
Tailwind
colors: {
  custom: {
    50: '#e180be',
    500: '#ce40a3',
    950: '#000000',
  },
}
SCSS
$custom: #ce40a3;
$custom-light: #e180be;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40a3",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 318.169,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.20446,
    "h": 342.3
  },
  "luminance": 0.19433
}

Semantic roles & 50–950 ramp

primary
#CE40A3
secondary
#96D4A9
accent
#E27545
background
#FEF8FB
surface
#FDEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE40A3

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

Preview Lab → · Contrast checker → · Palette generator →

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