#9F3271#9F3271

#9F3271 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.158 H 348.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F3271
RGBrgb(159, 50, 113)
HSLhsl(325, 52%, 41%)
HSVhsv(325, 69%, 62%)
CMYKcmyk(0%, 68.6%, 28.9%, 37.6%)
CIE-LABlab(39.32, 50.90, -11.77)
CIE-LCHlch(39.32, 52.24, 346.98°)
OKLaboklab(49.77% 0.1547 -0.0308)
OKLCHoklch(49.77% 0.158 348.7)
XYZxyz(18.4202, 10.8463, 16.7431)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3271 #329F60
analogous
#96329F #9F3271 #9F323A
triadic
#9F3271 #719F32 #32719F
tetradic
#9F3271 #9F9632 #329F60 #323A9F
square
#9F3271 #9F9632 #329F60 #323A9F
split-complementary
#9F3271 #3A9F32 #329F96
monochromatic
#42152F #702350 #9F3271 #C64991 #D477AD

Accessibility & contrast

On white

6.63
#9F3271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F3271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3271
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3271#FFFFFF#000000##FFFFFF
##9F32711.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415073
Deuteranopia (green-blind)
#60646E
Tritanopia (blue-blind)
#AA2E4D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f3271;
/* rgb */ color: rgb(159, 50, 113);
/* oklch */ color: oklch(49.8% 0.158 348.7);
Tailwind
colors: {
  custom: {
    50: '#bf7299',
    500: '#9f3271',
    950: '#000000',
  },
}
SCSS
$custom: #9f3271;
$custom-light: #bf7299;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3271",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 325.321,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4977,
    "c": 0.15776,
    "h": 348.7
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#9F3271
secondary
#70BD90
accent
#DC894C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F3271

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

Preview Lab → · Contrast checker → · Palette generator →

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