#CE398A#CE398A

#CE398A is a mid, vivid pink. Relative luminance 0.179; OKLCH L 59.0% C 0.199 H 351.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CE398A
RGBrgb(206, 57, 138)
HSLhsl(327, 60%, 52%)
HSVhsv(327, 72%, 81%)
CMYKcmyk(0%, 72.3%, 33%, 19.2%)
CIE-LABlab(49.36, 64.32, -11.13)
CIE-LCHlch(49.36, 65.27, 350.19°)
OKLaboklab(58.97% 0.1968 -0.0288)
OKLCHoklch(58.97% 0.199 351.7)
XYZxyz(31.5060, 17.8867, 25.8332)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE398A #39CE7D
analogous
#C839CE #CE398A #CE3940
triadic
#CE398A #8ACE39 #398ACE
tetradic
#CE398A #CEC839 #39CE7D #3940CE
square
#CE398A #CEC839 #39CE7D #3940CE
split-complementary
#CE398A #40CE39 #39CEC8
monochromatic
#711C4A #A2286A #CE398A #DA6AA7 #E69BC4

Accessibility & contrast

On white

4.59
#CE398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CE398A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE398A#FFFFFF#000000##FFFFFF
##CE398A1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648C
Deuteranopia (green-blind)
#7D7F87
Tritanopia (blue-blind)
#DD2E5D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ce398a;
/* rgb */ color: rgb(206, 57, 138);
/* oklch */ color: oklch(59.0% 0.199 351.7);
Tailwind
colors: {
  custom: {
    50: '#e27cac',
    500: '#ce398a',
    950: '#000000',
  },
}
SCSS
$custom: #ce398a;
$custom-light: #e27cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ce398a",
  "rgb": {
    "r": 206,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 327.383,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5897,
    "c": 0.19889,
    "h": 351.7
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#CE398A
secondary
#91D2AF
accent
#E38D44
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CE398A

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

Preview Lab → · Contrast checker → · Palette generator →

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