#CE40A7#CE40A7

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

Color values

HEX#CE40A7
RGBrgb(206, 64, 167)
HSLhsl(316, 59%, 53%)
HSVhsv(316, 69%, 81%)
CMYKcmyk(0%, 68.9%, 18.9%, 19.2%)
CIE-LABlab(51.36, 65.50, -25.32)
CIE-LCHlch(51.36, 70.22, 338.87°)
OKLaboklab(60.8% 0.1955 -0.0681)
OKLCHoklch(60.8% 0.207 340.8)
XYZxyz(34.2630, 19.5819, 38.5269)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40A7 #40CE67
analogous
#AE40CE #CE40A7 #CE4060
triadic
#CE40A7 #A7CE40 #40A7CE
tetradic
#CE40A7 #CEAE40 #40CE67 #4060CE
square
#CE40A7 #CEAE40 #40CE67 #4060CE
split-complementary
#CE40A7 #60CE40 #40CEAE
monochromatic
#751E5D #A62B84 #CE40A7 #DA71BD #E7A1D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE40A7#FFFFFF#000000##000000
##CE40A71.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)
#4A6CAA
Deuteranopia (green-blind)
#7683A4
Tritanopia (blue-blind)
#DA436E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce40a7;
/* rgb */ color: rgb(206, 64, 167);
/* oklch */ color: oklch(60.8% 0.207 340.8);
Tailwind
colors: {
  custom: {
    50: '#e180c1',
    500: '#ce40a7',
    950: '#000000',
  },
}
SCSS
$custom: #ce40a7;
$custom-light: #e180c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40a7",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 167
  },
  "hsl": {
    "h": 316.479,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60801,
    "c": 0.207,
    "h": 340.8
  },
  "luminance": 0.19579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE40A7

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

Preview Lab → · Contrast checker → · Palette generator →

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