#9F2B85#9F2B85

#9F2B85 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.179 H 338.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9F2B85
RGBrgb(159, 43, 133)
HSLhsl(313, 57%, 40%)
HSVhsv(313, 73%, 62%)
CMYKcmyk(0%, 73%, 16.4%, 37.6%)
CIE-LABlab(39.23, 56.30, -24.31)
CIE-LCHlch(39.23, 61.33, 336.65°)
OKLaboklab(49.98% 0.1668 -0.0659)
OKLCHoklch(49.98% 0.179 338.4)
XYZxyz(19.3960, 10.7940, 23.2477)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B85 #2B9F45
analogous
#7F2B9F #9F2B85 #9F2B4B
triadic
#9F2B85 #859F2B #2B859F
tetradic
#9F2B85 #9F7F2B #2B9F45 #2B4B9F
square
#9F2B85 #9F7F2B #2B9F45 #2B4B9F
split-complementary
#9F2B85 #4B9F2B #2B9F7F
monochromatic
#3F1134 #6F1E5D #9F2B85 #CA3DAB #D76DC0

Accessibility & contrast

On white

6.65
#9F2B85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F2B85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B85
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B85#FFFFFF#000000##FFFFFF
##9F2B851.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315188
Deuteranopia (green-blind)
#576382
Tritanopia (blue-blind)
#A83054
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2b85;
/* rgb */ color: rgb(159, 43, 133);
/* oklch */ color: oklch(50.0% 0.179 338.4);
Tailwind
colors: {
  custom: {
    50: '#bf70a8',
    500: '#9f2b85',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b85;
$custom-light: #bf70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b85",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 313.448,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49984,
    "c": 0.17932,
    "h": 338.4
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#9F2B85
secondary
#67BE7B
accent
#E16A47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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