#9F2058#9F2058

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

Color values

HEX#9F2058
RGBrgb(159, 32, 88)
HSLhsl(334, 66%, 37%)
HSVhsv(334, 80%, 62%)
CMYKcmyk(0%, 79.9%, 44.7%, 37.6%)
CIE-LABlab(36.20, 54.37, -0.59)
CIE-LCHlch(36.20, 54.38, 359.38°)
OKLaboklab(47.19% 0.1671 -0.0009)
OKLCHoklch(47.19% 0.167 359.7)
XYZxyz(16.5773, 9.1107, 10.1162)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2058 #209F67
analogous
#9F2098 #9F2058 #9F2720
triadic
#9F2058 #589F20 #20589F
tetradic
#9F2058 #989F20 #209F67 #27209F
square
#9F2058 #989F20 #209F67 #27209F
split-complementary
#9F2058 #209F27 #20989F
monochromatic
#390B20 #6C163C #9F2058 #D22A74 #DE5B95

Accessibility & contrast

On white

7.44
#9F2058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2058
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2058#FFFFFF#000000##FFFFFF
##9F20581.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4659
Deuteranopia (green-blind)
#605E55
Tritanopia (blue-blind)
#AD0239
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2058;
/* rgb */ color: rgb(159, 32, 88);
/* oklch */ color: oklch(47.2% 0.167 359.7);
Tailwind
colors: {
  custom: {
    50: '#c16a87',
    500: '#9f2058',
    950: '#000000',
  },
}
SCSS
$custom: #9f2058;
$custom-light: #c16a87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2058",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 88
  },
  "hsl": {
    "h": 333.543,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47191,
    "c": 0.16714,
    "h": 359.7
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2058

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

Preview Lab → · Contrast checker → · Palette generator →

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