#CE45B2#CE45B2

#CE45B2 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.8% C 0.208 H 337.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CE45B2
RGBrgb(206, 69, 178)
HSLhsl(312, 58%, 54%)
HSVhsv(312, 67%, 81%)
CMYKcmyk(0%, 66.5%, 13.6%, 19.2%)
CIE-LABlab(52.50, 65.20, -29.99)
CIE-LCHlch(52.50, 71.77, 335.30°)
OKLaboklab(61.79% 0.1916 -0.0814)
OKLCHoklch(61.79% 0.208 337)
XYZxyz(35.6182, 20.5955, 44.2103)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE45B2 #45CE61
analogous
#A645CE #CE45B2 #CE456E
triadic
#CE45B2 #B2CE45 #45B2CE
tetradic
#CE45B2 #CEA645 #45CE61 #456ECE
square
#CE45B2 #CEA645 #45CE61 #456ECE
split-complementary
#CE45B2 #6ECE45 #45CEA6
monochromatic
#792067 #A92D90 #CE45B2 #DB75C6 #E8A6DA

Accessibility & contrast

On white

4.10
#CE45B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CE45B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE45B2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE45B2#FFFFFF#000000##000000
##CE45B21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#7585AF
Tritanopia (blue-blind)
#D94C75
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ce45b2;
/* rgb */ color: rgb(206, 69, 178);
/* oklch */ color: oklch(61.8% 0.208 337.0);
Tailwind
colors: {
  custom: {
    50: '#e183c9',
    500: '#ce45b2',
    950: '#000000',
  },
}
SCSS
$custom: #ce45b2;
$custom-light: #e183c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ce45b2",
  "rgb": {
    "r": 206,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 312.263,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.20814,
    "h": 337
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#CE45B2
secondary
#9AD5A6
accent
#E26646
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CE45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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