#CE40B5#CE40B5

#CE40B5 is a mid, highly saturated pink. Relative luminance 0.201; OKLCH L 61.5% C 0.216 H 335.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CE40B5
RGBrgb(206, 64, 181)
HSLhsl(311, 59%, 53%)
HSVhsv(311, 69%, 81%)
CMYKcmyk(0%, 68.9%, 12.1%, 19.2%)
CIE-LABlab(51.98, 67.49, -32.55)
CIE-LCHlch(51.98, 74.93, 334.25°)
OKLaboklab(61.45% 0.1974 -0.0887)
OKLCHoklch(61.45% 0.216 335.8)
XYZxyz(35.6280, 20.1279, 45.7158)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE40B5 #40CE59
analogous
#A040CE #CE40B5 #CE406E
triadic
#CE40B5 #B5CE40 #40B5CE
tetradic
#CE40B5 #CEA040 #40CE59 #406ECE
square
#CE40B5 #CEA040 #40CE59 #406ECE
split-complementary
#CE40B5 #6ECE40 #40CEA0
monochromatic
#751E66 #A62B90 #CE40B5 #DA71C8 #E7A1DB

Accessibility & contrast

On white

4.18
#CE40B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CE40B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE40B5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE40B5#FFFFFF#000000##000000
##CE40B51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#416EB8
Deuteranopia (green-blind)
#7184B2
Tritanopia (blue-blind)
#D84975
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce40b5;
/* rgb */ color: rgb(206, 64, 181);
/* oklch */ color: oklch(61.5% 0.216 335.8);
Tailwind
colors: {
  custom: {
    50: '#e180cb',
    500: '#ce40b5',
    950: '#000000',
  },
}
SCSS
$custom: #ce40b5;
$custom-light: #e180cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce40b5",
  "rgb": {
    "r": 206,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 310.563,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.21641,
    "h": 335.8
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#CE40B5
secondary
#96D4A1
accent
#E26145
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE40B5

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

Preview Lab → · Contrast checker → · Palette generator →

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