#9A1F65#9A1F65

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

Color values

HEX#9A1F65
RGBrgb(154, 31, 101)
HSLhsl(326, 66%, 36%)
HSVhsv(326, 80%, 60%)
CMYKcmyk(0%, 79.9%, 34.4%, 39.6%)
CIE-LABlab(35.58, 54.70, -9.94)
CIE-LCHlch(35.58, 55.60, 349.70°)
OKLaboklab(46.71% 0.1678 -0.0258)
OKLCHoklch(46.71% 0.17 351.3)
XYZxyz(16.1664, 8.7915, 13.1550)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F65 #1F9A54
analogous
#921F9A #9A1F65 #9A1F28
triadic
#9A1F65 #659A1F #1F659A
tetradic
#9A1F65 #9A921F #1F9A54 #1F289A
square
#9A1F65 #9A921F #1F9A54 #1F289A
split-complementary
#9A1F65 #289A1F #1F9A92
monochromatic
#340A22 #671544 #9A1F65 #CD2986 #DD56A3

Accessibility & contrast

On white

7.61
#9A1F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9A1F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F65
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F65#FFFFFF#000000##FFFFFF
##9A1F651.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364667
Deuteranopia (green-blind)
#595C62
Tritanopia (blue-blind)
#A61340
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1f65;
/* rgb */ color: rgb(154, 31, 101);
/* oklch */ color: oklch(46.7% 0.170 351.3);
Tailwind
colors: {
  custom: {
    50: '#bc6991',
    500: '#9a1f65',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f65;
$custom-light: #bc6991;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f65",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 325.854,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46714,
    "c": 0.16973,
    "h": 351.3
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#9A1F65
secondary
#54C183
accent
#E9883E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A1F65

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

Preview Lab → · Contrast checker → · Palette generator →

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