#CE308F#CE308F

#CE308F is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.4% C 0.211 H 349.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CE308F
RGBrgb(206, 48, 143)
HSLhsl(324, 62%, 50%)
HSVhsv(324, 77%, 81%)
CMYKcmyk(0%, 76.7%, 30.6%, 19.2%)
CIE-LABlab(48.54, 67.72, -15.37)
CIE-LCHlch(48.54, 69.44, 347.21°)
OKLaboklab(58.43% 0.2069 -0.0403)
OKLCHoklch(58.43% 0.211 349)
XYZxyz(31.4702, 17.2226, 27.6483)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE308F #30CE6F
analogous
#BE30CE #CE308F #CE3040
triadic
#CE308F #8FCE30 #308FCE
tetradic
#CE308F #CEBE30 #30CE6F #3040CE
square
#CE308F #CEBE30 #30CE6F #3040CE
split-complementary
#CE308F #40CE30 #30CEBE
monochromatic
#6B194A #9C246D #CE308F #DA61AA #E693C5

Accessibility & contrast

On white

4.73
#CE308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CE308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CE308F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE308F#FFFFFF#000000##FFFFFF
##CE308F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6291
Deuteranopia (green-blind)
#797D8B
Tritanopia (blue-blind)
#DD265C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ce308f;
/* rgb */ color: rgb(206, 48, 143);
/* oklch */ color: oklch(58.4% 0.211 349.0);
Tailwind
colors: {
  custom: {
    50: '#e278af',
    500: '#ce308f',
    950: '#000000',
  },
}
SCSS
$custom: #ce308f;
$custom-light: #e278af;
$custom-dark: #000000;
JSON
{
  "hex": "#ce308f",
  "rgb": {
    "r": 206,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 323.924,
    "s": 62.205,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58432,
    "c": 0.21082,
    "h": 349
  },
  "luminance": 0.17219
}

Semantic roles & 50–950 ramp

primary
#CE308F
secondary
#89D1A6
accent
#E58343
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CE308F

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

Preview Lab → · Contrast checker → · Palette generator →

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