#9E2870#9E2870

#9E2870 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.169 H 347.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9E2870
RGBrgb(158, 40, 112)
HSLhsl(323, 60%, 39%)
HSVhsv(323, 75%, 62%)
CMYKcmyk(0%, 74.7%, 29.1%, 38%)
CIE-LABlab(37.77, 54.23, -13.52)
CIE-LCHlch(37.77, 55.88, 346.00°)
OKLaboklab(48.59% 0.1651 -0.0356)
OKLCHoklch(48.59% 0.169 347.8)
XYZxyz(17.7848, 9.9585, 16.3117)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2870 #289E56
analogous
#91289E #9E2870 #9E2835
triadic
#9E2870 #709E28 #28709E
tetradic
#9E2870 #9E9128 #289E56 #28359E
square
#9E2870 #9E9128 #289E56 #28359E
split-complementary
#9E2870 #359E28 #289E91
monochromatic
#3C0F2B #6D1C4D #9E2870 #CC3792 #D968AD

Accessibility & contrast

On white

7.02
#9E2870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E2870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2870
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2870#FFFFFF#000000##FFFFFF
##9E28701.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2870;
/* rgb */ color: rgb(158, 40, 112);
/* oklch */ color: oklch(48.6% 0.169 347.8);
Tailwind
colors: {
  custom: {
    50: '#bf6d99',
    500: '#9e2870',
    950: '#000000',
  },
}
SCSS
$custom: #9e2870;
$custom-light: #bf6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2870",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 323.39,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48587,
    "c": 0.1689,
    "h": 347.8
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#9E2870
secondary
#63BF87
accent
#E38345
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9E2870

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

Preview Lab → · Contrast checker → · Palette generator →

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