#9F2286#9F2286

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

Color values

HEX#9F2286
RGBrgb(159, 34, 134)
HSLhsl(312, 65%, 38%)
HSVhsv(312, 79%, 62%)
CMYKcmyk(0%, 78.6%, 15.7%, 37.6%)
CIE-LABlab(38.27, 59.33, -26.43)
CIE-LCHlch(38.27, 64.96, 335.99°)
OKLaboklab(49.3% 0.1756 -0.0718)
OKLCHoklch(49.3% 0.19 337.7)
XYZxyz(19.1736, 10.2381, 23.5160)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2286 #229F3B
analogous
#79229F #9F2286 #9F2247
triadic
#9F2286 #869F22 #22869F
tetradic
#9F2286 #9F7922 #229F3B #22479F
square
#9F2286 #9F7922 #229F3B #22479F
split-complementary
#9F2286 #479F22 #229F79
monochromatic
#3A0C31 #6D175C #9F2286 #D12DB0 #DD5FC4

Accessibility & contrast

On white

6.89
#9F2286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F2286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2286
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2286#FFFFFF#000000##FFFFFF
##9F22861.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#536183
Tritanopia (blue-blind)
#A82A52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2286;
/* rgb */ color: rgb(159, 34, 134);
/* oklch */ color: oklch(49.3% 0.190 337.7);
Tailwind
colors: {
  custom: {
    50: '#bf6ca9',
    500: '#9f2286',
    950: '#000000',
  },
}
SCSS
$custom: #9f2286;
$custom-light: #bf6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2286",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 312,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.1897,
    "h": 337.7
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#9F2286
secondary
#5BC170
accent
#E86240
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2286

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

Preview Lab → · Contrast checker → · Palette generator →

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