#9E186B#9E186B

#9E186B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.2% C 0.182 H 349.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#9E186B
RGBrgb(158, 24, 107)
HSLhsl(323, 74%, 36%)
HSVhsv(323, 85%, 62%)
CMYKcmyk(0%, 84.8%, 32.3%, 38%)
CIE-LABlab(35.96, 58.21, -13.12)
CIE-LCHlch(35.96, 59.67, 347.30°)
OKLaboklab(47.21% 0.1784 -0.0344)
OKLCHoklch(47.21% 0.182 349.1)
XYZxyz(17.0820, 8.9860, 14.7420)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E186B #189E4B
analogous
#8E189E #9E186B #9E1828
triadic
#9E186B #6B9E18 #186B9E
tetradic
#9E186B #9E8E18 #189E4B #18289E
square
#9E186B #9E8E18 #189E4B #18289E
split-complementary
#9E186B #289E18 #189E8E
monochromatic
#340823 #691047 #9E186B #D3208F #E44DAA

Accessibility & contrast

On white

7.51
#9E186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9E186B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E186B
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E186B#FFFFFF#000000##FFFFFF
##9E186B1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32466D
Deuteranopia (green-blind)
#595D68
Tritanopia (blue-blind)
#AA0B41
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e186b;
/* rgb */ color: rgb(158, 24, 107);
/* oklch */ color: oklch(47.2% 0.182 349.1);
Tailwind
colors: {
  custom: {
    50: '#bf6795',
    500: '#9e186b',
    950: '#000000',
  },
}
SCSS
$custom: #9e186b;
$custom-light: #bf6795;
$custom-dark: #000000;
JSON
{
  "hex": "#9e186b",
  "rgb": {
    "r": 158,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 322.836,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47206,
    "c": 0.18165,
    "h": 349.1
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#9E186B
secondary
#4CC67A
accent
#F07E38
background
#FCF6F9
surface
#F8EBF1
border
#D1C6CB
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9E186B

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

Preview Lab → · Contrast checker → · Palette generator →

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