#9D1E58#9D1E58

#9D1E58 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.167 H 358.9°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9D1E58
RGBrgb(157, 30, 88)
HSLhsl(333, 68%, 37%)
HSVhsv(333, 81%, 62%)
CMYKcmyk(0%, 80.9%, 43.9%, 38.4%)
CIE-LABlab(35.60, 54.41, -1.51)
CIE-LCHlch(35.60, 54.43, 358.41°)
OKLaboklab(46.69% 0.1673 -0.0033)
OKLCHoklch(46.69% 0.167 358.9)
XYZxyz(16.1316, 8.8034, 10.0804)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E58 #1E9D63
analogous
#9D1E98 #9D1E58 #9D231E
triadic
#9D1E58 #589D1E #1E589D
tetradic
#9D1E58 #989D1E #1E9D63 #231E9D
square
#9D1E58 #989D1E #1E9D63 #231E9D
split-complementary
#9D1E58 #1E9D23 #1E989D
monochromatic
#360A1E #6A143B #9D1E58 #D02875 #DF5795

Accessibility & contrast

On white

7.61
#9D1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9D1E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1E58
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E58#FFFFFF#000000##FFFFFF
##9D1E581.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4459
Deuteranopia (green-blind)
#5E5C55
Tritanopia (blue-blind)
#AB0039
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9d1e58;
/* rgb */ color: rgb(157, 30, 88);
/* oklch */ color: oklch(46.7% 0.167 358.9);
Tailwind
colors: {
  custom: {
    50: '#bf6987',
    500: '#9d1e58',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e58;
$custom-light: #bf6987;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e58",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 332.598,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.16737,
    "h": 358.9
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#9D1E58
secondary
#54C290
accent
#EB9B3D
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D1E58

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

Preview Lab → · Contrast checker → · Palette generator →

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