#9E1F70#9E1F70

#9E1F70 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.178 H 347.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9E1F70
RGBrgb(158, 31, 112)
HSLhsl(322, 67%, 37%)
HSVhsv(322, 80%, 62%)
CMYKcmyk(0%, 80.4%, 29.1%, 38%)
CIE-LABlab(36.78, 57.03, -15.02)
CIE-LCHlch(36.78, 58.97, 345.24°)
OKLaboklab(47.87% 0.1739 -0.0397)
OKLCHoklch(47.87% 0.178 347.1)
XYZxyz(17.5161, 9.4209, 16.2221)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F70 #1F9E4D
analogous
#8D1F9E #9E1F70 #9E1F31
triadic
#9E1F70 #709E1F #1F709E
tetradic
#9E1F70 #9E8D1F #1F9E4D #1F319E
square
#9E1F70 #9E8D1F #1F9E4D #1F319E
split-complementary
#9E1F70 #319E1F #1F9E8D
monochromatic
#380B27 #6B154C #9E1F70 #D12994 #DE59AE

Accessibility & contrast

On white

7.28
#9E1F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9E1F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F70
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F70#FFFFFF#000000##FFFFFF
##9E1F701.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334972
Deuteranopia (green-blind)
#595E6D
Tritanopia (blue-blind)
#A91945
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1f70;
/* rgb */ color: rgb(158, 31, 112);
/* oklch */ color: oklch(47.9% 0.178 347.1);
Tailwind
colors: {
  custom: {
    50: '#bf6a99',
    500: '#9e1f70',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f70;
$custom-light: #bf6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f70",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 321.732,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47871,
    "c": 0.17833,
    "h": 347.1
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#9E1F70
secondary
#56C27E
accent
#EA7C3E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E1F70

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

Preview Lab → · Contrast checker → · Palette generator →

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