#CE398B#CE398B

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

Color values

HEX#CE398B
RGBrgb(206, 57, 139)
HSLhsl(327, 60%, 52%)
HSVhsv(327, 72%, 81%)
CMYKcmyk(0%, 72.3%, 32.5%, 19.2%)
CIE-LABlab(49.39, 64.43, -11.67)
CIE-LCHlch(49.39, 65.48, 349.73°)
OKLaboklab(59.01% 0.1971 -0.0303)
OKLCHoklch(59.01% 0.199 351.3)
XYZxyz(31.5787, 17.9158, 26.2162)
Luminance0.1791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE398B #39CE7C
analogous
#C739CE #CE398B #CE3941
triadic
#CE398B #8BCE39 #398BCE
tetradic
#CE398B #CEC739 #39CE7C #3941CE
square
#CE398B #CEC739 #39CE7C #3941CE
split-complementary
#CE398B #41CE39 #39CEC7
monochromatic
#711C4B #A2286B #CE398B #DA6AA8 #E69BC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CE398B#FFFFFF#000000##000000
##CE398B1.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)
#52648D
Deuteranopia (green-blind)
#7C7F88
Tritanopia (blue-blind)
#DD2E5D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ce398b;
/* rgb */ color: rgb(206, 57, 139);
/* oklch */ color: oklch(59.0% 0.199 351.3);
Tailwind
colors: {
  custom: {
    50: '#e27cac',
    500: '#ce398b',
    950: '#000000',
  },
}
SCSS
$custom: #ce398b;
$custom-light: #e27cac;
$custom-dark: #000000;
JSON
{
  "hex": "#ce398b",
  "rgb": {
    "r": 206,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 326.98,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59007,
    "c": 0.19937,
    "h": 351.3
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#CE398B
secondary
#91D2AE
accent
#E38C44
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CE398B

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

Preview Lab → · Contrast checker → · Palette generator →

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