#9F2284#9F2284

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

Color values

HEX#9F2284
RGBrgb(159, 34, 132)
HSLhsl(313, 65%, 38%)
HSVhsv(313, 79%, 62%)
CMYKcmyk(0%, 78.6%, 17%, 37.6%)
CIE-LABlab(38.17, 59.05, -25.35)
CIE-LCHlch(38.17, 64.26, 336.77°)
OKLaboklab(49.2% 0.1754 -0.0688)
OKLCHoklch(49.2% 0.188 338.6)
XYZxyz(19.0354, 10.1828, 22.7883)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2284 #229F3D
analogous
#7B229F #9F2284 #9F2245
triadic
#9F2284 #849F22 #22849F
tetradic
#9F2284 #9F7B22 #229F3D #22459F
square
#9F2284 #9F7B22 #229F3D #22459F
split-complementary
#9F2284 #459F22 #229F7B
monochromatic
#3A0C30 #6D175A #9F2284 #D12DAE #DD5FC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2284#FFFFFF#000000##FFFFFF
##9F22841.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)
#294D87
Deuteranopia (green-blind)
#546181
Tritanopia (blue-blind)
#A82951
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2284;
/* rgb */ color: rgb(159, 34, 132);
/* oklch */ color: oklch(49.2% 0.188 338.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ca8',
    500: '#9f2284',
    950: '#000000',
  },
}
SCSS
$custom: #9f2284;
$custom-light: #bf6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2284",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 312.96,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.18836,
    "h": 338.6
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#9F2284
secondary
#5BC171
accent
#E86440
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2284

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

Preview Lab → · Contrast checker → · Palette generator →

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