#9A1D63#9A1D63

#9A1D63 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.171 H 352.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9A1D63
RGBrgb(154, 29, 99)
HSLhsl(326, 68%, 36%)
HSVhsv(326, 81%, 60%)
CMYKcmyk(0%, 81.2%, 35.7%, 39.6%)
CIE-LABlab(35.30, 55.05, -9.08)
CIE-LCHlch(35.30, 55.79, 350.63°)
OKLaboklab(46.49% 0.169 -0.0234)
OKLCHoklch(46.49% 0.171 352.1)
XYZxyz(16.0189, 8.6516, 12.6283)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D63 #1D9A54
analogous
#921D9A #9A1D63 #9A1D24
triadic
#9A1D63 #639A1D #1D639A
tetradic
#9A1D63 #9A921D #1D9A54 #1D249A
square
#9A1D63 #9A921D #1D9A54 #1D249A
split-complementary
#9A1D63 #249A1D #1D9A92
monochromatic
#330A21 #661342 #9A1D63 #CE2784 #DF53A1

Accessibility & contrast

On white

7.69
#9A1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9A1D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D63
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D63#FFFFFF#000000##FFFFFF
##9A1D631.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364565
Deuteranopia (green-blind)
#595B60
Tritanopia (blue-blind)
#A60E3E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a1d63;
/* rgb */ color: rgb(154, 29, 99);
/* oklch */ color: oklch(46.5% 0.171 352.1);
Tailwind
colors: {
  custom: {
    50: '#bc688f',
    500: '#9a1d63',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d63;
$custom-light: #bc688f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d63",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 326.4,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46488,
    "c": 0.17064,
    "h": 352.1
  },
  "luminance": 0.0865
}

Semantic roles & 50–950 ramp

primary
#9A1D63
secondary
#51C283
accent
#EB893D
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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