#E398CF#E398CF

#E398CF is a light, moderate pink. Relative luminance 0.433; OKLCH L 77.1% C 0.114 H 336.9°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#E398CF
RGBrgb(227, 152, 207)
HSLhsl(316, 57%, 74%)
HSVhsv(316, 33%, 89%)
CMYKcmyk(0%, 33%, 8.8%, 11%)
CIE-LABlab(71.75, 36.29, -16.69)
CIE-LCHlch(71.75, 39.95, 335.31°)
OKLaboklab(77.08% 0.1047 -0.0446)
OKLCHoklch(77.08% 0.114 336.9)
XYZxyz(54.1690, 43.2949, 64.5228)
Luminance0.4329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E398CF #98E3AC
analogous
#D298E3 #E398CF #E398AA
triadic
#E398CF #CFE398 #98CFE3
tetradic
#E398CF #E3D298 #98E3AC #98AAE3
square
#E398CF #E3D298 #98E3AC #98AAE3
split-complementary
#E398CF #AAE398 #98E3D2
monochromatic
#C938A2 #D668B9 #E398CF #F0C8E5 #F8E7F4

Accessibility & contrast

On white

2.17
#E398CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#E398CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E398CF
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E398CF#FFFFFF#000000##000000
##E398CF1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A9D1
Deuteranopia (green-blind)
#ACB4CD
Tritanopia (blue-blind)
#EB9AAC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #e398cf;
/* rgb */ color: rgb(227, 152, 207);
/* oklch */ color: oklch(77.1% 0.114 336.9);
Tailwind
colors: {
  custom: {
    50: '#edb7dd',
    500: '#e398cf',
    950: '#000000',
  },
}
SCSS
$custom: #e398cf;
$custom-light: #edb7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#e398cf",
  "rgb": {
    "r": 227,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 316,
    "s": 57.252,
    "l": 74.314
  },
  "oklch": {
    "l": 0.77081,
    "c": 0.11375,
    "h": 336.9
  },
  "luminance": 0.43292
}

Semantic roles & 50–950 ramp

primary
#E398CF
secondary
#DBF0E1
accent
#C54C21
background
#FEFBFD
surface
#FDF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #E398CF

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

Preview Lab → · Contrast checker → · Palette generator →

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