#9A1F85#9A1F85

#9A1F85 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.2% C 0.189 H 336.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9A1F85
RGBrgb(154, 31, 133)
HSLhsl(310, 66%, 36%)
HSVhsv(310, 80%, 60%)
CMYKcmyk(0%, 79.9%, 13.6%, 39.6%)
CIE-LABlab(37.01, 58.89, -27.84)
CIE-LCHlch(37.01, 65.14, 334.70°)
OKLaboklab(48.22% 0.1732 -0.076)
OKLCHoklch(48.22% 0.189 336.3)
XYZxyz(18.0504, 9.5452, 23.0775)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F85 #1F9A34
analogous
#721F9A #9A1F85 #9A1F48
triadic
#9A1F85 #859A1F #1F859A
tetradic
#9A1F85 #9A721F #1F9A34 #1F489A
square
#9A1F85 #9A721F #1F9A34 #1F489A
split-complementary
#9A1F85 #489A1F #1F9A72
monochromatic
#340A2D #671559 #9A1F85 #CD29B1 #DD56C6

Accessibility & contrast

On white

7.22
#9A1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9A1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F85
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F85#FFFFFF#000000##FFFFFF
##9A1F851.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B88
Deuteranopia (green-blind)
#4E5E82
Tritanopia (blue-blind)
#A22951
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a1f85;
/* rgb */ color: rgb(154, 31, 133);
/* oklch */ color: oklch(48.2% 0.189 336.3);
Tailwind
colors: {
  custom: {
    50: '#bc6aa9',
    500: '#9a1f85',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f85;
$custom-light: #bc6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f85",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 310.244,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48217,
    "c": 0.18909,
    "h": 336.3
  },
  "luminance": 0.09543
}

Semantic roles & 50–950 ramp

primary
#9A1F85
secondary
#54C167
accent
#E95C3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #9A1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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