#9A1F63#9A1F63

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

Color values

HEX#9A1F63
RGBrgb(154, 31, 99)
HSLhsl(327, 66%, 36%)
HSVhsv(327, 80%, 60%)
CMYKcmyk(0%, 79.9%, 35.7%, 39.6%)
CIE-LABlab(35.50, 54.48, -8.78)
CIE-LCHlch(35.50, 55.18, 350.85°)
OKLaboklab(46.63% 0.1672 -0.0226)
OKLCHoklch(46.63% 0.169 352.3)
XYZxyz(16.0696, 8.7528, 12.6452)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1F63 #1F9A56
analogous
#941F9A #9A1F63 #9A1F26
triadic
#9A1F63 #639A1F #1F639A
tetradic
#9A1F63 #9A941F #1F9A56 #1F269A
square
#9A1F63 #9A941F #1F9A56 #1F269A
split-complementary
#9A1F63 #269A1F #1F9A94
monochromatic
#340A22 #671542 #9A1F63 #CD2984 #DD56A1

Accessibility & contrast

On white

7.64
#9A1F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A1F63
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1F63#FFFFFF#000000##FFFFFF
##9A1F631.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374565
Deuteranopia (green-blind)
#5A5B60
Tritanopia (blue-blind)
#A6123E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a1f63;
/* rgb */ color: rgb(154, 31, 99);
/* oklch */ color: oklch(46.6% 0.169 352.3);
Tailwind
colors: {
  custom: {
    50: '#bc698f',
    500: '#9a1f63',
    950: '#000000',
  },
}
SCSS
$custom: #9a1f63;
$custom-light: #bc698f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1f63",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 99
  },
  "hsl": {
    "h": 326.829,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46634,
    "c": 0.16875,
    "h": 352.3
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#9A1F63
secondary
#54C185
accent
#E98B3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A1F63

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

Preview Lab → · Contrast checker → · Palette generator →

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