#9A3161#9A3161

#9A3161 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.2% C 0.147 H 355.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9A3161
RGBrgb(154, 49, 97)
HSLhsl(333, 52%, 40%)
HSVhsv(333, 68%, 60%)
CMYKcmyk(0%, 68.2%, 37%, 39.6%)
CIE-LABlab(37.72, 47.84, -4.19)
CIE-LCHlch(37.72, 48.03, 354.99°)
OKLaboklab(48.24% 0.1464 -0.0104)
OKLCHoklch(48.24% 0.147 355.9)
XYZxyz(16.5834, 9.9316, 12.3506)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A3161 #319A6A
analogous
#9A3196 #9A3161 #9A3531
triadic
#9A3161 #619A31 #31619A
tetradic
#9A3161 #969A31 #319A6A #35319A
square
#9A3161 #969A31 #319A6A #35319A
split-complementary
#9A3161 #319A35 #31969A
monochromatic
#3D1327 #6C2244 #9A3161 #C4457F #D2739F

Accessibility & contrast

On white

7.03
#9A3161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9A3161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A3161
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A3161#FFFFFF#000000##FFFFFF
##9A31611.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C62
Deuteranopia (green-blind)
#60605F
Tritanopia (blue-blind)
#A62845
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a3161;
/* rgb */ color: rgb(154, 49, 97);
/* oklch */ color: oklch(48.2% 0.147 355.9);
Tailwind
colors: {
  custom: {
    50: '#bc718d',
    500: '#9a3161',
    950: '#000000',
  },
}
SCSS
$custom: #9a3161;
$custom-light: #bc718d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a3161",
  "rgb": {
    "r": 154,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 332.571,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.14676,
    "h": 355.9
  },
  "luminance": 0.0993
}

Semantic roles & 50–950 ramp

primary
#9A3161
secondary
#6CBA97
accent
#DB9A4D
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #9A3161

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

Preview Lab → · Contrast checker → · Palette generator →

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