#9A1D58#9A1D58

#9A1D58 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.1% C 0.166 H 357.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9A1D58
RGBrgb(154, 29, 88)
HSLhsl(332, 68%, 36%)
HSVhsv(332, 81%, 60%)
CMYKcmyk(0%, 81.2%, 42.9%, 39.6%)
CIE-LABlab(34.91, 53.88, -2.59)
CIE-LCHlch(34.91, 53.94, 357.25°)
OKLaboklab(46.08% 0.1658 -0.0061)
OKLCHoklch(46.08% 0.166 357.9)
XYZxyz(15.5284, 8.4554, 10.0450)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D58 #1D9A5F
analogous
#9A1D96 #9A1D58 #9A201D
triadic
#9A1D58 #589A1D #1D589A
tetradic
#9A1D58 #969A1D #1D9A5F #201D9A
square
#9A1D58 #969A1D #1D9A5F #201D9A
split-complementary
#9A1D58 #1D9A20 #1D969A
monochromatic
#330A1D #66133B #9A1D58 #CE2775 #DF5395

Accessibility & contrast

On white

7.80
#9A1D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9A1D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D58
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D58#FFFFFF#000000##FFFFFF
##9A1D581.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#5C5A55
Tritanopia (blue-blind)
#A70238
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9a1d58;
/* rgb */ color: rgb(154, 29, 88);
/* oklch */ color: oklch(46.1% 0.166 357.9);
Tailwind
colors: {
  custom: {
    50: '#bd6887',
    500: '#9a1d58',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d58;
$custom-light: #bd6887;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d58",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 331.68,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46075,
    "c": 0.16589,
    "h": 357.9
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#9A1D58
secondary
#51C28D
accent
#EB993D
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A1D58

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

Preview Lab → · Contrast checker → · Palette generator →

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