#9F258A#9F258A

#9F258A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.7% C 0.189 H 336.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F258A
RGBrgb(159, 37, 138)
HSLhsl(310, 62%, 38%)
HSVhsv(310, 77%, 62%)
CMYKcmyk(0%, 76.7%, 13.2%, 37.6%)
CIE-LABlab(38.78, 59.02, -28.09)
CIE-LCHlch(38.78, 65.36, 334.55°)
OKLaboklab(49.74% 0.1732 -0.0766)
OKLCHoklch(49.74% 0.189 336.1)
XYZxyz(19.5474, 10.5308, 25.0430)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F258A #259F3A
analogous
#77259F #9F258A #9F254D
triadic
#9F258A #8A9F25 #258A9F
tetradic
#9F258A #9F7725 #259F3A #254D9F
square
#9F258A #9F7725 #259F3A #254D9F
split-complementary
#9F258A #4D9F25 #259F77
monochromatic
#3C0E34 #6D195F #9F258A #CF32B4 #DB64C6

Accessibility & contrast

On white

6.76
#9F258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F258A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F258A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F258A#FFFFFF#000000##FFFFFF
##9F258A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#526287
Tritanopia (blue-blind)
#A72E55
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f258a;
/* rgb */ color: rgb(159, 37, 138);
/* oklch */ color: oklch(49.7% 0.189 336.1);
Tailwind
colors: {
  custom: {
    50: '#bf6dac',
    500: '#9f258a',
    950: '#000000',
  },
}
SCSS
$custom: #9f258a;
$custom-light: #bf6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f258a",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 310.328,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49736,
    "c": 0.18944,
    "h": 336.1
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#9F258A
secondary
#5FC070
accent
#E55F42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F258A

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

Preview Lab → · Contrast checker → · Palette generator →

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