#9F2E88#9F2E88

#9F2E88 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.178 H 337.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#9F2E88
RGBrgb(159, 46, 136)
HSLhsl(312, 55%, 40%)
HSVhsv(312, 71%, 62%)
CMYKcmyk(0%, 71.1%, 14.5%, 37.6%)
CIE-LABlab(39.76, 55.67, -25.34)
CIE-LCHlch(39.76, 61.17, 335.53°)
OKLaboklab(50.41% 0.1639 -0.0688)
OKLCHoklch(50.41% 0.178 337.2)
XYZxyz(19.7194, 11.1043, 24.3926)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E88 #2E9F45
analogous
#7D2E9F #9F2E88 #9F2E50
triadic
#9F2E88 #889F2E #2E889F
tetradic
#9F2E88 #9F7D2E #2E9F45 #2E509F
square
#9F2E88 #9F7D2E #2E9F45 #2E509F
split-complementary
#9F2E88 #509F2E #2E9F7D
monochromatic
#401337 #70205F #9F2E88 #C842AD #D671C2

Accessibility & contrast

On white

6.52
#9F2E88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9F2E88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E88
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E88#FFFFFF#000000##FFFFFF
##9F2E881.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538B
Deuteranopia (green-blind)
#576485
Tritanopia (blue-blind)
#A83457
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2e88;
/* rgb */ color: rgb(159, 46, 136);
/* oklch */ color: oklch(50.4% 0.178 337.2);
Tailwind
colors: {
  custom: {
    50: '#bf71ab',
    500: '#9f2e88',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e88;
$custom-light: #bf71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e88",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 312.212,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.1778,
    "h": 337.2
  },
  "luminance": 0.11102
}

Semantic roles & 50–950 ramp

primary
#9F2E88
secondary
#6BBE7C
accent
#DE6849
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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