#CE2F8A#CE2F8A

#CE2F8A is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.209 H 350.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CE2F8A
RGBrgb(206, 47, 138)
HSLhsl(326, 63%, 50%)
HSVhsv(326, 77%, 81%)
CMYKcmyk(0%, 77.2%, 33%, 19.2%)
CIE-LABlab(48.25, 67.45, -12.80)
CIE-LCHlch(48.25, 68.65, 349.26°)
OKLaboklab(58.16% 0.2067 -0.0332)
OKLCHoklch(58.16% 0.209 350.9)
XYZxyz(31.0594, 16.9935, 25.6843)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2F8A #2FCE73
analogous
#C22FCE #CE2F8A #CE2F3B
triadic
#CE2F8A #8ACE2F #2F8ACE
tetradic
#CE2F8A #CEC22F #2FCE73 #2F3BCE
square
#CE2F8A #CEC22F #2FCE73 #2F3BCE
split-complementary
#CE2F8A #3BCE2F #2FCEC2
monochromatic
#6A1847 #9C2469 #CE2F8A #DB60A6 #E691C2

Accessibility & contrast

On white

4.77
#CE2F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CE2F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CE2F8A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2F8A#FFFFFF#000000##FFFFFF
##CE2F8A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C608C
Deuteranopia (green-blind)
#7A7D86
Tritanopia (blue-blind)
#DE2159
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ce2f8a;
/* rgb */ color: rgb(206, 47, 138);
/* oklch */ color: oklch(58.2% 0.209 350.9);
Tailwind
colors: {
  custom: {
    50: '#e278ac',
    500: '#ce2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #ce2f8a;
$custom-light: #e278ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2f8a",
  "rgb": {
    "r": 206,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 325.66,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.20931,
    "h": 350.9
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#CE2F8A
secondary
#88D1A7
accent
#E68842
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CE2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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