#9E2770#9E2770

#9E2770 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.170 H 347.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9E2770
RGBrgb(158, 39, 112)
HSLhsl(323, 60%, 39%)
HSVhsv(323, 75%, 62%)
CMYKcmyk(0%, 75.3%, 29.1%, 38%)
CIE-LABlab(37.65, 54.56, -13.70)
CIE-LCHlch(37.65, 56.26, 345.91°)
OKLaboklab(48.5% 0.1662 -0.0361)
OKLCHoklch(48.5% 0.17 347.7)
XYZxyz(17.7516, 9.8920, 16.3006)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2770 #279E55
analogous
#90279E #9E2770 #9E2735
triadic
#9E2770 #709E27 #27709E
tetradic
#9E2770 #9E9027 #279E55 #27359E
square
#9E2770 #9E9027 #279E55 #27359E
split-complementary
#9E2770 #359E27 #279E90
monochromatic
#3C0F2A #6D1B4D #9E2770 #CD3592 #D966AD

Accessibility & contrast

On white

7.05
#9E2770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E2770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2770
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2770#FFFFFF#000000##FFFFFF
##9E27701.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B72
Deuteranopia (green-blind)
#5C606D
Tritanopia (blue-blind)
#A92248
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2770;
/* rgb */ color: rgb(158, 39, 112);
/* oklch */ color: oklch(48.5% 0.170 347.7);
Tailwind
colors: {
  custom: {
    50: '#bf6d99',
    500: '#9e2770',
    950: '#000000',
  },
}
SCSS
$custom: #9e2770;
$custom-light: #bf6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2770",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 323.193,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.485,
    "c": 0.17004,
    "h": 347.7
  },
  "luminance": 0.0989
}

Semantic roles & 50–950 ramp

primary
#9E2770
secondary
#62BF86
accent
#E48244
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9E2770

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

Preview Lab → · Contrast checker → · Palette generator →

#9E2770 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva