#9A1D6F#9A1D6F

#9A1D6F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.177 H 346.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9A1D6F
RGBrgb(154, 29, 111)
HSLhsl(321, 68%, 36%)
HSVhsv(321, 81%, 60%)
CMYKcmyk(0%, 81.2%, 27.9%, 39.6%)
CIE-LABlab(35.79, 56.46, -15.98)
CIE-LCHlch(35.79, 58.68, 344.20°)
OKLaboklab(47% 0.1718 -0.0424)
OKLCHoklch(47% 0.177 346.1)
XYZxyz(16.6358, 8.8984, 15.8773)
Luminance0.0890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1D6F #1D9A48
analogous
#861D9A #9A1D6F #9A1D30
triadic
#9A1D6F #6F9A1D #1D6F9A
tetradic
#9A1D6F #9A861D #1D9A48 #1D309A
square
#9A1D6F #9A861D #1D9A48 #1D309A
split-complementary
#9A1D6F #309A1D #1D9A86
monochromatic
#330A25 #66134A #9A1D6F #CE2794 #DF53AF

Accessibility & contrast

On white

7.56
#9A1D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9A1D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1D6F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1D6F#FFFFFF#000000##FFFFFF
##9A1D6F1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304771
Deuteranopia (green-blind)
#565C6C
Tritanopia (blue-blind)
#A51944
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1d6f;
/* rgb */ color: rgb(154, 29, 111);
/* oklch */ color: oklch(47.0% 0.177 346.1);
Tailwind
colors: {
  custom: {
    50: '#bc6998',
    500: '#9a1d6f',
    950: '#000000',
  },
}
SCSS
$custom: #9a1d6f;
$custom-light: #bc6998;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1d6f",
  "rgb": {
    "r": 154,
    "g": 29,
    "b": 111
  },
  "hsl": {
    "h": 320.64,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.17698,
    "h": 346.1
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#9A1D6F
secondary
#51C278
accent
#EB793D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9A1D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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