#9F2056#9F2056

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

Color values

HEX#9F2056
RGBrgb(159, 32, 86)
HSLhsl(334, 66%, 37%)
HSVhsv(334, 80%, 62%)
CMYKcmyk(0%, 79.9%, 45.9%, 37.6%)
CIE-LABlab(36.13, 54.18, 0.61)
CIE-LCHlch(36.13, 54.19, 0.64°)
OKLaboklab(47.13% 0.1665 0.0022)
OKLCHoklch(47.13% 0.166 0.7)
XYZxyz(16.4956, 9.0781, 9.6859)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2056 #209F69
analogous
#9F2096 #9F2056 #9F2920
triadic
#9F2056 #569F20 #20569F
tetradic
#9F2056 #969F20 #209F69 #29209F
square
#9F2056 #969F20 #209F69 #29209F
split-complementary
#9F2056 #209F29 #20969F
monochromatic
#390B1F #6C163A #9F2056 #D22A72 #DE5B93

Accessibility & contrast

On white

7.46
#9F2056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9F2056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2056
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2056#FFFFFF#000000##FFFFFF
##9F20561.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2056;
/* rgb */ color: rgb(159, 32, 86);
/* oklch */ color: oklch(47.1% 0.166 0.7);
Tailwind
colors: {
  custom: {
    50: '#c16985',
    500: '#9f2056',
    950: '#000000',
  },
}
SCSS
$custom: #9f2056;
$custom-light: #c16985;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2056",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 334.488,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47125,
    "c": 0.16647,
    "h": 0.7
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#9F2056
secondary
#59C295
accent
#E9A13E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2056

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

Preview Lab → · Contrast checker → · Palette generator →

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