#9A1F64#9A1F64

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

Color values

HEX#9A1F64
RGBrgb(154, 31, 100)
HSLhsl(326, 66%, 36%)
HSVhsv(326, 80%, 60%)
CMYKcmyk(0%, 79.9%, 35.1%, 39.6%)
CIE-LABlab(35.54, 54.59, -9.36)
CIE-LCHlch(35.54, 55.39, 350.27°)
OKLaboklab(46.67% 0.1675 -0.0242)
OKLCHoklch(46.67% 0.169 351.8)
XYZxyz(16.1177, 8.7721, 12.8985)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F64 #1F9A55
analogous
#931F9A #9A1F64 #9A1F27
triadic
#9A1F64 #649A1F #1F649A
tetradic
#9A1F64 #9A931F #1F9A55 #1F279A
square
#9A1F64 #9A931F #1F9A55 #1F279A
split-complementary
#9A1F64 #279A1F #1F9A93
monochromatic
#340A22 #671543 #9A1F64 #CD2985 #DD56A2

Accessibility & contrast

On white

7.63
#9A1F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9A1F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F64
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F64#FFFFFF#000000##FFFFFF
##9A1F641.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364666
Deuteranopia (green-blind)
#5A5B61
Tritanopia (blue-blind)
#A6123F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1f64;
/* rgb */ color: rgb(154, 31, 100);
/* oklch */ color: oklch(46.7% 0.169 351.8);
Tailwind
colors: {
  custom: {
    50: '#bc6990',
    500: '#9a1f64',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f64;
$custom-light: #bc6990;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f64",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 326.341,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46673,
    "c": 0.16924,
    "h": 351.8
  },
  "luminance": 0.0877
}

Semantic roles & 50–950 ramp

primary
#9A1F64
secondary
#54C184
accent
#E9893E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A1F64

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

Preview Lab → · Contrast checker → · Palette generator →

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