#E398CD#E398CD

#E398CD is a light, moderate pink. Relative luminance 0.432; OKLCH L 77.0% C 0.112 H 338.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#E398CD
RGBrgb(227, 152, 205)
HSLhsl(318, 57%, 74%)
HSVhsv(318, 33%, 89%)
CMYKcmyk(0%, 33%, 9.7%, 11%)
CIE-LABlab(71.69, 35.96, -15.68)
CIE-LCHlch(71.69, 39.23, 336.43°)
OKLaboklab(77.01% 0.1041 -0.0418)
OKLCHoklch(77.01% 0.112 338.1)
XYZxyz(53.9260, 43.1977, 63.2433)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398CD #98E3AE
analogous
#D498E3 #E398CD #E398A8
triadic
#E398CD #CDE398 #98CDE3
tetradic
#E398CD #E3D498 #98E3AE #98A8E3
square
#E398CD #E3D498 #98E3AE #98A8E3
split-complementary
#E398CD #A8E398 #98E3D4
monochromatic
#C9389E #D668B6 #E398CD #F0C8E4 #F8E7F3

Accessibility & contrast

On white

2.18
#E398CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#E398CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398CD
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398CD#FFFFFF#000000##000000
##E398CD1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AA9CF
Deuteranopia (green-blind)
#ACB4CB
Tritanopia (blue-blind)
#EB9AAB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e398cd;
/* rgb */ color: rgb(227, 152, 205);
/* oklch */ color: oklch(77.0% 0.112 338.1);
Tailwind
colors: {
  custom: {
    50: '#edb7dc',
    500: '#e398cd',
    950: '#000000',
  },
}
SCSS
$custom: #e398cd;
$custom-light: #edb7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#e398cd",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 317.6,
    "s": 57.252,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7701,
    "c": 0.11213,
    "h": 338.1
  },
  "luminance": 0.43195
}

Semantic roles & 50–950 ramp

primary
#E398CD
secondary
#DBF0E1
accent
#C55121
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #E398CD

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

Preview Lab → · Contrast checker → · Palette generator →

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