#CE2EA8#CE2EA8

#CE2EA8 is a mid, highly saturated pink. Relative luminance 0.179; OKLCH L 59.4% C 0.227 H 339.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#CE2EA8
RGBrgb(206, 46, 168)
HSLhsl(314, 63%, 49%)
HSVhsv(314, 78%, 81%)
CMYKcmyk(0%, 77.7%, 18.4%, 19.2%)
CIE-LABlab(49.38, 71.37, -28.98)
CIE-LCHlch(49.38, 77.02, 337.90°)
OKLaboklab(59.38% 0.213 -0.0784)
OKLCHoklch(59.38% 0.227 339.8)
XYZxyz(33.4994, 17.9063, 38.7302)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2EA8 #2ECE54
analogous
#A42ECE #CE2EA8 #CE2E58
triadic
#CE2EA8 #A8CE2E #2EA8CE
tetradic
#CE2EA8 #CEA42E #2ECE54 #2E58CE
square
#CE2EA8 #CEA42E #2ECE54 #2E58CE
split-complementary
#CE2EA8 #58CE2E #2ECEA4
monochromatic
#6A1856 #9C237F #CE2EA8 #DB5EBD #E690D2

Accessibility & contrast

On white

4.58
#CE2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CE2EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE2EA8
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2EA8#FFFFFF#000000##000000
##CE2EA81.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AB
Deuteranopia (green-blind)
#707EA4
Tritanopia (blue-blind)
#DA3469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ce2ea8;
/* rgb */ color: rgb(206, 46, 168);
/* oklch */ color: oklch(59.4% 0.227 339.8);
Tailwind
colors: {
  custom: {
    50: '#e178c2',
    500: '#ce2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #ce2ea8;
$custom-light: #e178c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2ea8",
  "rgb": {
    "r": 206,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 314.25,
    "s": 63.492,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59382,
    "c": 0.22695,
    "h": 339.8
  },
  "luminance": 0.17903
}

Semantic roles & 50–950 ramp

primary
#CE2EA8
secondary
#87D199
accent
#E76941
background
#FEF7FB
surface
#FDEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CE2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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