#9F2289#9F2289

#9F2289 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.5% C 0.192 H 336.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9F2289
RGBrgb(159, 34, 137)
HSLhsl(311, 65%, 38%)
HSVhsv(311, 79%, 62%)
CMYKcmyk(0%, 78.6%, 13.8%, 37.6%)
CIE-LABlab(38.42, 59.77, -28.05)
CIE-LCHlch(38.42, 66.02, 334.86°)
OKLaboklab(49.46% 0.1758 -0.0765)
OKLCHoklch(49.46% 0.192 336.5)
XYZxyz(19.3858, 10.3230, 24.6336)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2289 #229F38
analogous
#76229F #9F2289 #9F224A
triadic
#9F2289 #899F22 #22899F
tetradic
#9F2289 #9F7622 #229F38 #224A9F
square
#9F2289 #9F7622 #229F38 #224A9F
split-complementary
#9F2289 #4A9F22 #229F76
monochromatic
#3A0C32 #6D175E #9F2289 #D12DB4 #DD5FC7

Accessibility & contrast

On white

6.85
#9F2289 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F2289 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2289
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2289#FFFFFF#000000##FFFFFF
##9F22891.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8C
Deuteranopia (green-blind)
#526186
Tritanopia (blue-blind)
#A82B54
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2289;
/* rgb */ color: rgb(159, 34, 137);
/* oklch */ color: oklch(49.5% 0.192 336.5);
Tailwind
colors: {
  custom: {
    50: '#bf6cac',
    500: '#9f2289',
    950: '#000000',
  },
}
SCSS
$custom: #9f2289;
$custom-light: #bf6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2289",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 310.56,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49459,
    "c": 0.19175,
    "h": 336.5
  },
  "luminance": 0.10321
}

Semantic roles & 50–950 ramp

primary
#9F2289
secondary
#5BC16D
accent
#E85E40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2289

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

Preview Lab → · Contrast checker → · Palette generator →

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