#9A1C7D#9A1C7D

#9A1C7D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.186 H 339.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9A1C7D
RGBrgb(154, 28, 125)
HSLhsl(314, 69%, 36%)
HSVhsv(314, 82%, 60%)
CMYKcmyk(0%, 81.8%, 18.8%, 39.6%)
CIE-LABlab(36.33, 58.57, -23.93)
CIE-LCHlch(36.33, 63.27, 337.77°)
OKLaboklab(47.6% 0.1748 -0.0648)
OKLCHoklch(47.6% 0.186 339.7)
XYZxyz(17.4439, 9.1830, 20.2519)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1C7D #1C9A39
analogous
#781C9A #9A1C7D #9A1C3E
triadic
#9A1C7D #7D9A1C #1C7D9A
tetradic
#9A1C7D #9A781C #1C9A39 #1C3E9A
square
#9A1C7D #9A781C #1C9A39 #1C3E9A
split-complementary
#9A1C7D #3E9A1C #1C9A78
monochromatic
#320929 #661353 #9A1C7D #CE25A7 #DF51BF

Accessibility & contrast

On white

7.40
#9A1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9A1C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1C7D
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1C7D#FFFFFF#000000##FFFFFF
##9A1C7D1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#515C7A
Tritanopia (blue-blind)
#A3224C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a1c7d;
/* rgb */ color: rgb(154, 28, 125);
/* oklch */ color: oklch(47.6% 0.186 339.7);
Tailwind
colors: {
  custom: {
    50: '#bc69a3',
    500: '#9a1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #9a1c7d;
$custom-light: #bc69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1c7d",
  "rgb": {
    "r": 154,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 313.81,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.476,
    "c": 0.18646,
    "h": 339.7
  },
  "luminance": 0.09181
}

Semantic roles & 50–950 ramp

primary
#9A1C7D
secondary
#50C26A
accent
#EC643C
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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