#E170B2#E170B2

#E170B2 is a light, vivid pink. Relative luminance 0.308; OKLCH L 69.6% C 0.159 H 345.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#E170B2
RGBrgb(225, 112, 178)
HSLhsl(325, 65%, 66%)
HSVhsv(325, 50%, 88%)
CMYKcmyk(0%, 50.2%, 20.9%, 11.8%)
CIE-LABlab(62.35, 51.64, -14.65)
CIE-LCHlch(62.35, 53.68, 344.16°)
OKLaboklab(69.62% 0.1544 -0.0386)
OKLCHoklch(69.62% 0.159 345.9)
XYZxyz(44.8825, 30.8138, 45.6946)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E170B2 #70E19F
analogous
#D870E1 #E170B2 #E17079
triadic
#E170B2 #B2E170 #70B2E1
tetradic
#E170B2 #E1D870 #70E19F #7079E1
square
#E170B2 #E1D870 #70E19F #7079E1
split-complementary
#E170B2 #79E170 #70E1D8
monochromatic
#B12577 #D63D97 #E170B2 #ECA3CD #F6D5E8

Accessibility & contrast

On white

2.93
#E170B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#E170B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E170B2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E170B2#FFFFFF#000000##000000
##E170B21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#989EAF
Tritanopia (blue-blind)
#EE6F89
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e170b2;
/* rgb */ color: rgb(225, 112, 178);
/* oklch */ color: oklch(69.6% 0.159 345.9);
Tailwind
colors: {
  custom: {
    50: '#ed9dc9',
    500: '#e170b2',
    950: '#000000',
  },
}
SCSS
$custom: #e170b2;
$custom-light: #ed9dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#e170b2",
  "rgb": {
    "r": 225,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 324.956,
    "s": 65.318,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69615,
    "c": 0.15914,
    "h": 345.9
  },
  "luminance": 0.3081
}

Semantic roles & 50–950 ramp

primary
#E170B2
secondary
#C4E9D3
accent
#CD6418
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170E13
muted
#857E82

Preview Lab

Preview with #E170B2

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

Preview Lab → · Contrast checker → · Palette generator →

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