#9F2057#9F2057

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

Color values

HEX#9F2057
RGBrgb(159, 32, 87)
HSLhsl(334, 66%, 37%)
HSVhsv(334, 80%, 62%)
CMYKcmyk(0%, 79.9%, 45.3%, 37.6%)
CIE-LABlab(36.17, 54.28, 0.01)
CIE-LCHlch(36.17, 54.28, 0.01°)
OKLaboklab(47.16% 0.1668 0.0006)
OKLCHoklch(47.16% 0.167 0.2)
XYZxyz(16.5362, 9.0943, 9.8996)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2057 #209F68
analogous
#9F2096 #9F2057 #9F2920
triadic
#9F2057 #579F20 #20579F
tetradic
#9F2057 #969F20 #209F68 #29209F
square
#9F2057 #969F20 #209F68 #29209F
split-complementary
#9F2057 #209F29 #20969F
monochromatic
#390B1F #6C163B #9F2057 #D22A73 #DE5B94

Accessibility & contrast

On white

7.45
#9F2057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2057
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2057#FFFFFF#000000##FFFFFF
##9F20571.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4658
Deuteranopia (green-blind)
#605E54
Tritanopia (blue-blind)
#AD0139
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2057;
/* rgb */ color: rgb(159, 32, 87);
/* oklch */ color: oklch(47.2% 0.167 0.2);
Tailwind
colors: {
  custom: {
    50: '#c16a86',
    500: '#9f2057',
    950: '#000000',
  },
}
SCSS
$custom: #9f2057;
$custom-light: #c16a86;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2057",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 334.016,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47158,
    "c": 0.1668,
    "h": 0.2
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#9F2057
secondary
#59C294
accent
#E99F3E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F2057

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

Preview Lab → · Contrast checker → · Palette generator →

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