#9D1861#9D1861

#9D1861 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.176 H 353.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9D1861
RGBrgb(157, 24, 97)
HSLhsl(327, 73%, 35%)
HSVhsv(327, 85%, 62%)
CMYKcmyk(0%, 84.7%, 38.2%, 38.4%)
CIE-LABlab(35.37, 56.87, -7.63)
CIE-LCHlch(35.37, 57.38, 352.35°)
OKLaboklab(46.62% 0.175 -0.0195)
OKLCHoklch(46.62% 0.176 353.6)
XYZxyz(16.3901, 8.6865, 12.1205)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1861 #189D54
analogous
#97189D #9D1861 #9D181E
triadic
#9D1861 #619D18 #18619D
tetradic
#9D1861 #9D9718 #189D54 #181E9D
square
#9D1861 #9D9718 #189D54 #181E9D
split-complementary
#9D1861 #1E9D18 #189D97
monochromatic
#33081F #681040 #9D1861 #D22082 #E44C9F

Accessibility & contrast

On white

7.67
#9D1861 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9D1861 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1861
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1861#FFFFFF#000000##FFFFFF
##9D18611.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364463
Deuteranopia (green-blind)
#5B5C5E
Tritanopia (blue-blind)
#AA003B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9d1861;
/* rgb */ color: rgb(157, 24, 97);
/* oklch */ color: oklch(46.6% 0.176 353.6);
Tailwind
colors: {
  custom: {
    50: '#bf678d',
    500: '#9d1861',
    950: '#000000',
  },
}
SCSS
$custom: #9d1861;
$custom-light: #bf678d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1861",
  "rgb": {
    "r": 157,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 327.068,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4662,
    "c": 0.17611,
    "h": 353.6
  },
  "luminance": 0.08684
}

Semantic roles & 50–950 ramp

primary
#9D1861
secondary
#4BC582
accent
#F08B38
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D1861

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

Preview Lab → · Contrast checker → · Palette generator →

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