#9F256A#9F256A

#9F256A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.170 H 350.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9F256A
RGBrgb(159, 37, 106)
HSLhsl(326, 62%, 38%)
HSVhsv(326, 77%, 62%)
CMYKcmyk(0%, 76.7%, 33.3%, 37.6%)
CIE-LABlab(37.37, 54.76, -10.33)
CIE-LCHlch(37.37, 55.73, 349.32°)
OKLaboklab(48.25% 0.1677 -0.0268)
OKLCHoklch(48.25% 0.17 350.9)
XYZxyz(17.5622, 9.7368, 14.5874)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F256A #259F5A
analogous
#97259F #9F256A #9F252D
triadic
#9F256A #6A9F25 #256A9F
tetradic
#9F256A #9F9725 #259F5A #252D9F
square
#9F256A #9F9725 #259F5A #252D9F
split-complementary
#9F256A #2D9F25 #259F97
monochromatic
#3C0E28 #6D1949 #9F256A #CF328B #DB64A7

Accessibility & contrast

On white

7.13
#9F256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F256A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F256A#FFFFFF#000000##FFFFFF
##9F256A1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4A6C
Deuteranopia (green-blind)
#5D6067
Tritanopia (blue-blind)
#AB1C44
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f256a;
/* rgb */ color: rgb(159, 37, 106);
/* oklch */ color: oklch(48.3% 0.170 350.9);
Tailwind
colors: {
  custom: {
    50: '#c06c94',
    500: '#9f256a',
    950: '#000000',
  },
}
SCSS
$custom: #9f256a;
$custom-light: #c06c94;
$custom-dark: #000000;
JSON
{
  "hex": "#9f256a",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 326.066,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48251,
    "c": 0.16978,
    "h": 350.9
  },
  "luminance": 0.09735
}

Semantic roles & 50–950 ramp

primary
#9F256A
secondary
#5FC08A
accent
#E58942
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F256A

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

Preview Lab → · Contrast checker → · Palette generator →

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