#CE40A5#CE40A5

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

Color values

HEX#CE40A5
RGBrgb(206, 64, 165)
HSLhsl(317, 59%, 53%)
HSVhsv(317, 69%, 81%)
CMYKcmyk(0%, 68.9%, 19.9%, 19.2%)
CIE-LABlab(51.28, 65.23, -24.27)
CIE-LCHlch(51.28, 69.60, 339.59°)
OKLaboklab(60.71% 0.1951 -0.0652)
OKLCHoklch(60.71% 0.206 341.5)
XYZxyz(34.0795, 19.5085, 37.5607)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40A5 #40CE69
analogous
#B040CE #CE40A5 #CE405E
triadic
#CE40A5 #A5CE40 #40A5CE
tetradic
#CE40A5 #CEB040 #40CE69 #405ECE
square
#CE40A5 #CEB040 #40CE69 #405ECE
split-complementary
#CE40A5 #5ECE40 #40CEB0
monochromatic
#751E5C #A62B82 #CE40A5 #DA71BC #E7A1D3

Accessibility & contrast

On white

4.28
#CE40A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CE40A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40A5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40A5#FFFFFF#000000##000000
##CE40A51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA8
Deuteranopia (green-blind)
#7783A2
Tritanopia (blue-blind)
#DA426D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce40a5;
/* rgb */ color: rgb(206, 64, 165);
/* oklch */ color: oklch(60.7% 0.206 341.5);
Tailwind
colors: {
  custom: {
    50: '#e180c0',
    500: '#ce40a5',
    950: '#000000',
  },
}
SCSS
$custom: #ce40a5;
$custom-light: #e180c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40a5",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 317.324,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.20572,
    "h": 341.5
  },
  "luminance": 0.19505
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE40A5

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

Preview Lab → · Contrast checker → · Palette generator →

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