#CE40A8#CE40A8

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

Color values

HEX#CE40A8
RGBrgb(206, 64, 168)
HSLhsl(316, 59%, 53%)
HSVhsv(316, 69%, 81%)
CMYKcmyk(0%, 68.9%, 18.4%, 19.2%)
CIE-LABlab(51.40, 65.64, -25.84)
CIE-LCHlch(51.40, 70.54, 338.51°)
OKLaboklab(60.85% 0.1956 -0.0696)
OKLCHoklch(60.85% 0.208 340.4)
XYZxyz(34.3558, 19.6190, 39.0157)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40A8 #40CE66
analogous
#AD40CE #CE40A8 #CE4061
triadic
#CE40A8 #A8CE40 #40A8CE
tetradic
#CE40A8 #CEAD40 #40CE66 #4061CE
square
#CE40A8 #CEAD40 #40CE66 #4061CE
split-complementary
#CE40A8 #61CE40 #40CEAD
monochromatic
#751E5E #A62B85 #CE40A8 #DA71BE #E7A1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE40A8#FFFFFF#000000##000000
##CE40A81.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)
#4A6CAB
Deuteranopia (green-blind)
#7683A5
Tritanopia (blue-blind)
#DA446E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce40a8;
/* rgb */ color: rgb(206, 64, 168);
/* oklch */ color: oklch(60.8% 0.208 340.4);
Tailwind
colors: {
  custom: {
    50: '#e180c2',
    500: '#ce40a8',
    950: '#000000',
  },
}
SCSS
$custom: #ce40a8;
$custom-light: #e180c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40a8",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 168
  },
  "hsl": {
    "h": 316.056,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.20764,
    "h": 340.4
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#CE40A8
secondary
#96D4A7
accent
#E26F45
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE40A8

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

Preview Lab → · Contrast checker → · Palette generator →

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