#CE45A7#CE45A7

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

Color values

HEX#CE45A7
RGBrgb(206, 69, 167)
HSLhsl(317, 58%, 54%)
HSVhsv(317, 67%, 81%)
CMYKcmyk(0%, 66.5%, 18.9%, 19.2%)
CIE-LABlab(52.03, 63.63, -24.29)
CIE-LCHlch(52.03, 68.11, 339.11°)
OKLaboklab(61.29% 0.1898 -0.0653)
OKLCHoklch(61.29% 0.201 341)
XYZxyz(34.5577, 20.1713, 38.6252)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE45A7 #45CE6C
analogous
#B145CE #CE45A7 #CE4563
triadic
#CE45A7 #A7CE45 #45A7CE
tetradic
#CE45A7 #CEB145 #45CE6C #4563CE
square
#CE45A7 #CEB145 #45CE6C #4563CE
split-complementary
#CE45A7 #63CE45 #45CEB1
monochromatic
#79205F #A92D86 #CE45A7 #DB75BE #E8A6D5

Accessibility & contrast

On white

4.17
#CE45A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE45A7#FFFFFF#000000##000000
##CE45A71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6EAA
Deuteranopia (green-blind)
#7984A4
Tritanopia (blue-blind)
#DA4870
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ce45a7;
/* rgb */ color: rgb(206, 69, 167);
/* oklch */ color: oklch(61.3% 0.201 341.0);
Tailwind
colors: {
  custom: {
    50: '#e182c1',
    500: '#ce45a7',
    950: '#000000',
  },
}
SCSS
$custom: #ce45a7;
$custom-light: #e182c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce45a7",
  "rgb": {
    "r": 206,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 317.08,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.20071,
    "h": 341
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#CE45A7
secondary
#9AD5AB
accent
#E27246
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CE45A7

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

Preview Lab → · Contrast checker → · Palette generator →

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