#CE2F8E#CE2F8E

#CE2F8E is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.211 H 349.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CE2F8E
RGBrgb(206, 47, 142)
HSLhsl(324, 63%, 50%)
HSVhsv(324, 77%, 81%)
CMYKcmyk(0%, 77.2%, 31.1%, 19.2%)
CIE-LABlab(48.40, 67.89, -14.98)
CIE-LCHlch(48.40, 69.53, 347.55°)
OKLaboklab(58.32% 0.2076 -0.0392)
OKLCHoklch(58.32% 0.211 349.3)
XYZxyz(31.3543, 17.1115, 27.2376)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE2F8E #2FCE6F
analogous
#BF2FCE #CE2F8E #CE2F3E
triadic
#CE2F8E #8ECE2F #2F8ECE
tetradic
#CE2F8E #CEBF2F #2FCE6F #2F3ECE
square
#CE2F8E #CEBF2F #2FCE6F #2F3ECE
split-complementary
#CE2F8E #3ECE2F #2FCEBF
monochromatic
#6A1849 #9C246C #CE2F8E #DB60A9 #E691C4

Accessibility & contrast

On white

4.75
#CE2F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CE2F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CE2F8E
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE2F8E#FFFFFF#000000##FFFFFF
##CE2F8E1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#797D8A
Tritanopia (blue-blind)
#DD245B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ce2f8e;
/* rgb */ color: rgb(206, 47, 142);
/* oklch */ color: oklch(58.3% 0.211 349.3);
Tailwind
colors: {
  custom: {
    50: '#e278af',
    500: '#ce2f8e',
    950: '#000000',
  },
}
SCSS
$custom: #ce2f8e;
$custom-light: #e278af;
$custom-dark: #000000;
JSON
{
  "hex": "#ce2f8e",
  "rgb": {
    "r": 206,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 324.151,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.21127,
    "h": 349.3
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#CE2F8E
secondary
#88D1A5
accent
#E68442
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CE2F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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