#9F2088#9F2088

#9F2088 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.3% C 0.193 H 336.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9F2088
RGBrgb(159, 32, 136)
HSLhsl(311, 66%, 37%)
HSVhsv(311, 80%, 62%)
CMYKcmyk(0%, 79.9%, 14.5%, 37.6%)
CIE-LABlab(38.17, 60.19, -27.82)
CIE-LCHlch(38.17, 66.30, 335.19°)
OKLaboklab(49.27% 0.1774 -0.0758)
OKLCHoklch(49.27% 0.193 336.9)
XYZxyz(19.2589, 10.1834, 24.2391)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2088 #209F37
analogous
#76209F #9F2088 #9F2049
triadic
#9F2088 #889F20 #20889F
tetradic
#9F2088 #9F7620 #209F37 #20499F
square
#9F2088 #9F7620 #209F37 #20499F
split-complementary
#9F2088 #499F20 #209F76
monochromatic
#390B31 #6C165C #9F2088 #D22AB4 #DE5BC6

Accessibility & contrast

On white

6.92
#9F2088 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F2088 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2088
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2088#FFFFFF#000000##FFFFFF
##9F20881.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#526185
Tritanopia (blue-blind)
#A82953
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2088;
/* rgb */ color: rgb(159, 32, 136);
/* oklch */ color: oklch(49.3% 0.193 336.9);
Tailwind
colors: {
  custom: {
    50: '#bf6bab',
    500: '#9f2088',
    950: '#000000',
  },
}
SCSS
$custom: #9f2088;
$custom-light: #bf6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2088",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 310.866,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49266,
    "c": 0.19295,
    "h": 336.9
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#9F2088
secondary
#59C26C
accent
#E95D3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2088

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

Preview Lab → · Contrast checker → · Palette generator →

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