#9F256C#9F256C

#9F256C is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.171 H 349.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9F256C
RGBrgb(159, 37, 108)
HSLhsl(325, 62%, 38%)
HSVhsv(325, 77%, 62%)
CMYKcmyk(0%, 76.7%, 32.1%, 37.6%)
CIE-LABlab(37.44, 55.00, -11.48)
CIE-LCHlch(37.44, 56.18, 348.21°)
OKLaboklab(48.33% 0.1682 -0.03)
OKLCHoklch(48.33% 0.171 349.9)
XYZxyz(17.6674, 9.7788, 15.1416)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F256C #259F58
analogous
#95259F #9F256C #9F252F
triadic
#9F256C #6C9F25 #256C9F
tetradic
#9F256C #9F9525 #259F58 #252F9F
square
#9F256C #9F9525 #259F58 #252F9F
split-complementary
#9F256C #2F9F25 #259F95
monochromatic
#3C0E29 #6D194A #9F256C #CF328D #DB64A9

Accessibility & contrast

On white

7.11
#9F256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F256C
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F256C#FFFFFF#000000##FFFFFF
##9F256C1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394A6E
Deuteranopia (green-blind)
#5D6069
Tritanopia (blue-blind)
#AB1D45
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f256c;
/* rgb */ color: rgb(159, 37, 108);
/* oklch */ color: oklch(48.3% 0.171 349.9);
Tailwind
colors: {
  custom: {
    50: '#c06c96',
    500: '#9f256c',
    950: '#000000',
  },
}
SCSS
$custom: #9f256c;
$custom-light: #c06c96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f256c",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 325.082,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48333,
    "c": 0.17082,
    "h": 349.9
  },
  "luminance": 0.09777
}

Semantic roles & 50–950 ramp

primary
#9F256C
secondary
#5FC088
accent
#E58742
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F256C

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

Preview Lab → · Contrast checker → · Palette generator →

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