#CE40A2#CE40A2

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

Color values

HEX#CE40A2
RGBrgb(206, 64, 162)
HSLhsl(319, 59%, 53%)
HSVhsv(319, 69%, 81%)
CMYKcmyk(0%, 68.9%, 21.4%, 19.2%)
CIE-LABlab(51.15, 64.82, -22.69)
CIE-LCHlch(51.15, 68.68, 340.70°)
OKLaboklab(60.58% 0.1946 -0.0608)
OKLCHoklch(60.58% 0.204 342.7)
XYZxyz(33.8097, 19.4006, 36.1395)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40A2 #40CE6C
analogous
#B340CE #CE40A2 #CE405B
triadic
#CE40A2 #A2CE40 #40A2CE
tetradic
#CE40A2 #CEB340 #40CE6C #405BCE
square
#CE40A2 #CEB340 #40CE6C #405BCE
split-complementary
#CE40A2 #5BCE40 #40CEB3
monochromatic
#751E5A #A62B80 #CE40A2 #DA71BA #E7A1D1

Accessibility & contrast

On white

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

On black

4.88
#CE40A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40A2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40A2#FFFFFF#000000##000000
##CE40A21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#DB416B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ce40a2;
/* rgb */ color: rgb(206, 64, 162);
/* oklch */ color: oklch(60.6% 0.204 342.7);
Tailwind
colors: {
  custom: {
    50: '#e180bd',
    500: '#ce40a2',
    950: '#000000',
  },
}
SCSS
$custom: #ce40a2;
$custom-light: #e180bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40a2",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 162
  },
  "hsl": {
    "h": 318.592,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.20384,
    "h": 342.7
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#CE40A2
secondary
#96D4A9
accent
#E27645
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE40A2

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

Preview Lab → · Contrast checker → · Palette generator →

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