#9F2889#9F2889

#9F2889 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.186 H 336.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9F2889
RGBrgb(159, 40, 137)
HSLhsl(311, 60%, 39%)
HSVhsv(311, 75%, 62%)
CMYKcmyk(0%, 74.8%, 13.8%, 37.6%)
CIE-LABlab(39.06, 57.91, -27.03)
CIE-LCHlch(39.06, 63.91, 334.98°)
OKLaboklab(49.93% 0.1703 -0.0736)
OKLCHoklch(49.93% 0.186 336.6)
XYZxyz(19.5726, 10.6965, 24.6959)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2889 #289F3E
analogous
#7A289F #9F2889 #9F284E
triadic
#9F2889 #899F28 #28899F
tetradic
#9F2889 #9F7A28 #289F3E #284E9F
square
#9F2889 #9F7A28 #289F3E #284E9F
split-complementary
#9F2889 #4E9F28 #289F7A
monochromatic
#3D0F35 #6E1C5F #9F2889 #CD37B1 #D968C4

Accessibility & contrast

On white

6.69
#9F2889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2889
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2889#FFFFFF#000000##FFFFFF
##9F28891.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508C
Deuteranopia (green-blind)
#546286
Tritanopia (blue-blind)
#A73056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2889;
/* rgb */ color: rgb(159, 40, 137);
/* oklch */ color: oklch(49.9% 0.186 336.6);
Tailwind
colors: {
  custom: {
    50: '#bf6eab',
    500: '#9f2889',
    950: '#000000',
  },
}
SCSS
$custom: #9f2889;
$custom-light: #bf6eab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2889",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 311.092,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49926,
    "c": 0.18554,
    "h": 336.6
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#9F2889
secondary
#64BF74
accent
#E36245
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2889

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

Preview Lab → · Contrast checker → · Palette generator →

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