#9A1F67#9A1F67

#9A1F67 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.171 H 350.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9A1F67
RGBrgb(154, 31, 103)
HSLhsl(325, 66%, 36%)
HSVhsv(325, 80%, 60%)
CMYKcmyk(0%, 79.9%, 33.1%, 39.6%)
CIE-LABlab(35.66, 54.94, -11.10)
CIE-LCHlch(35.66, 56.05, 348.58°)
OKLaboklab(46.79% 0.1683 -0.0289)
OKLCHoklch(46.79% 0.171 350.2)
XYZxyz(16.2655, 8.8312, 13.6774)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F67 #1F9A52
analogous
#901F9A #9A1F67 #9A1F2A
triadic
#9A1F67 #679A1F #1F679A
tetradic
#9A1F67 #9A901F #1F9A52 #1F2A9A
square
#9A1F67 #9A901F #1F9A52 #1F2A9A
split-complementary
#9A1F67 #2A9A1F #1F9A90
monochromatic
#340A23 #671545 #9A1F67 #CD2989 #DD56A5

Accessibility & contrast

On white

7.59
#9A1F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9A1F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A1F67
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F67#FFFFFF#000000##FFFFFF
##9A1F671.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354669
Deuteranopia (green-blind)
#595C64
Tritanopia (blue-blind)
#A61541
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a1f67;
/* rgb */ color: rgb(154, 31, 103);
/* oklch */ color: oklch(46.8% 0.171 350.2);
Tailwind
colors: {
  custom: {
    50: '#bc6992',
    500: '#9a1f67',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f67;
$custom-light: #bc6992;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f67",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 324.878,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.17074,
    "h": 350.2
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#9A1F67
secondary
#54C181
accent
#E9853E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070D
muted
#827A7D

Preview Lab

Preview with #9A1F67

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

Preview Lab → · Contrast checker → · Palette generator →

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