#9F2288#9F2288

#9F2288 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.191 H 336.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F2288
RGBrgb(159, 34, 136)
HSLhsl(311, 65%, 38%)
HSVhsv(311, 79%, 62%)
CMYKcmyk(0%, 78.6%, 14.5%, 37.6%)
CIE-LABlab(38.37, 59.62, -27.51)
CIE-LCHlch(38.37, 65.66, 335.23°)
OKLaboklab(49.41% 0.1758 -0.0749)
OKLCHoklch(49.41% 0.191 336.9)
XYZxyz(19.3144, 10.2944, 24.2576)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2288 #229F39
analogous
#77229F #9F2288 #9F2249
triadic
#9F2288 #889F22 #22889F
tetradic
#9F2288 #9F7722 #229F39 #22499F
square
#9F2288 #9F7722 #229F39 #22499F
split-complementary
#9F2288 #499F22 #229F77
monochromatic
#3A0C32 #6D175D #9F2288 #D12DB3 #DD5FC6

Accessibility & contrast

On white

6.87
#9F2288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2288
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2288#FFFFFF#000000##FFFFFF
##9F22881.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2288;
/* rgb */ color: rgb(159, 34, 136);
/* oklch */ color: oklch(49.4% 0.191 336.9);
Tailwind
colors: {
  custom: {
    50: '#bf6cab',
    500: '#9f2288',
    950: '#000000',
  },
}
SCSS
$custom: #9f2288;
$custom-light: #bf6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2288",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 311.04,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.19107,
    "h": 336.9
  },
  "luminance": 0.10293
}

Semantic roles & 50–950 ramp

primary
#9F2288
secondary
#5BC16E
accent
#E85F40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2288

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

Preview Lab → · Contrast checker → · Palette generator →

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