#9F2156#9F2156

#9F2156 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.166 H 0.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9F2156
RGBrgb(159, 33, 86)
HSLhsl(335, 66%, 38%)
HSVhsv(335, 79%, 62%)
CMYKcmyk(0%, 79.2%, 45.9%, 37.6%)
CIE-LABlab(36.24, 53.89, 0.76)
CIE-LCHlch(36.24, 53.89, 0.81°)
OKLaboklab(47.2% 0.1655 0.0026)
OKLCHoklch(47.2% 0.166 0.9)
XYZxyz(16.5230, 9.1327, 9.6950)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2156 #219F6A
analogous
#9F2195 #9F2156 #9F2B21
triadic
#9F2156 #569F21 #21569F
tetradic
#9F2156 #959F21 #219F6A #2B219F
square
#9F2156 #959F21 #219F6A #2B219F
split-complementary
#9F2156 #219F2B #21959F
monochromatic
#3A0C1F #6C163B #9F2156 #D22C71 #DD5D93

Accessibility & contrast

On white

7.43
#9F2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9F2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2156
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2156#FFFFFF#000000##FFFFFF
##9F21561.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4657
Deuteranopia (green-blind)
#615E53
Tritanopia (blue-blind)
#AD0239
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2156;
/* rgb */ color: rgb(159, 33, 86);
/* oklch */ color: oklch(47.2% 0.166 0.9);
Tailwind
colors: {
  custom: {
    50: '#c16a85',
    500: '#9f2156',
    950: '#000000',
  },
}
SCSS
$custom: #9f2156;
$custom-light: #c16a85;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2156",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 334.762,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47202,
    "c": 0.16552,
    "h": 0.9
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#9F2156
secondary
#5AC296
accent
#E9A13F
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2156

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

Preview Lab → · Contrast checker → · Palette generator →

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