#E2317F#E2317F

#E2317F is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.2% C 0.218 H 359.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#E2317F
RGBrgb(226, 49, 127)
HSLhsl(334, 75%, 54%)
HSVhsv(334, 78%, 89%)
CMYKcmyk(0%, 78.3%, 43.8%, 11.4%)
CIE-LABlab(51.73, 70.83, -0.60)
CIE-LCHlch(51.73, 70.83, 359.52°)
OKLaboklab(61.24% 0.2177 -0.0008)
OKLCHoklch(61.24% 0.218 359.8)
XYZxyz(36.2960, 19.9025, 22.0048)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2317F #31E294
analogous
#E231D8 #E2317F #E23C31
triadic
#E2317F #7FE231 #317FE2
tetradic
#E2317F #D8E231 #31E294 #3C31E2
square
#E2317F #D8E231 #31E294 #3C31E2
split-complementary
#E2317F #31E23C #31D8E2
monochromatic
#861345 #BB1A61 #E2317F #EA67A0 #F19CC2

Accessibility & contrast

On white

4.22
#E2317F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#E2317F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E2317F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2317F#FFFFFF#000000##000000
##E2317F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6681
Deuteranopia (green-blind)
#8B877B
Tritanopia (blue-blind)
#F50154
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #e2317f;
/* rgb */ color: rgb(226, 49, 127);
/* oklch */ color: oklch(61.2% 0.218 359.8);
Tailwind
colors: {
  custom: {
    50: '#f17ba3',
    500: '#e2317f',
    950: '#000000',
  },
}
SCSS
$custom: #e2317f;
$custom-light: #f17ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2317f",
  "rgb": {
    "r": 226,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 333.559,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.21773,
    "h": 359.8
  },
  "luminance": 0.19898
}

Semantic roles & 50–950 ramp

primary
#E2317F
secondary
#92DDBC
accent
#F29F36
background
#FFF8FA
surface
#FFEFF3
border
#D7CACD
text
#180B0F
muted
#867C7F

Preview Lab

Preview with #E2317F

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

Preview Lab → · Contrast checker → · Palette generator →

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