#CE45B3#CE45B3

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

Color values

HEX#CE45B3
RGBrgb(206, 69, 179)
HSLhsl(312, 58%, 54%)
HSVhsv(312, 67%, 81%)
CMYKcmyk(0%, 66.5%, 13.1%, 19.2%)
CIE-LABlab(52.55, 65.35, -30.50)
CIE-LCHlch(52.55, 72.12, 334.98°)
OKLaboklab(61.84% 0.1917 -0.0829)
OKLCHoklch(61.84% 0.209 336.6)
XYZxyz(35.7189, 20.6358, 44.7410)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE45B3 #45CE60
analogous
#A545CE #CE45B3 #CE456F
triadic
#CE45B3 #B3CE45 #45B3CE
tetradic
#CE45B3 #CEA545 #45CE60 #456FCE
square
#CE45B3 #CEA545 #45CE60 #456FCE
split-complementary
#CE45B3 #6FCE45 #45CEA5
monochromatic
#792067 #A92D91 #CE45B3 #DB75C7 #E8A6DB

Accessibility & contrast

On white

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

On black

5.13
#CE45B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE45B3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE45B3#FFFFFF#000000##000000
##CE45B31.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B6
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#D84D76
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ce45b3;
/* rgb */ color: rgb(206, 69, 179);
/* oklch */ color: oklch(61.8% 0.209 336.6);
Tailwind
colors: {
  custom: {
    50: '#e083ca',
    500: '#ce45b3',
    950: '#000000',
  },
}
SCSS
$custom: #ce45b3;
$custom-light: #e083ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ce45b3",
  "rgb": {
    "r": 206,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 311.825,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61836,
    "c": 0.20884,
    "h": 336.6
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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