#9F256D#9F256D

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

Color values

HEX#9F256D
RGBrgb(159, 37, 109)
HSLhsl(325, 62%, 38%)
HSVhsv(325, 77%, 62%)
CMYKcmyk(0%, 76.7%, 31.4%, 37.6%)
CIE-LABlab(37.48, 55.12, -12.05)
CIE-LCHlch(37.48, 56.42, 347.67°)
OKLaboklab(48.37% 0.1684 -0.0315)
OKLCHoklch(48.37% 0.171 349.4)
XYZxyz(17.7209, 9.8002, 15.4235)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F256D #259F57
analogous
#94259F #9F256D #9F2530
triadic
#9F256D #6D9F25 #256D9F
tetradic
#9F256D #9F9425 #259F57 #25309F
square
#9F256D #9F9425 #259F57 #25309F
split-complementary
#9F256D #309F25 #259F94
monochromatic
#3C0E29 #6D194B #9F256D #CF328F #DB64AA

Accessibility & contrast

On white

7.10
#9F256D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F256D
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F256D#FFFFFF#000000##FFFFFF
##9F256D1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394B6F
Deuteranopia (green-blind)
#5D606A
Tritanopia (blue-blind)
#AB1D46
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f256d;
/* rgb */ color: rgb(159, 37, 109);
/* oklch */ color: oklch(48.4% 0.171 349.4);
Tailwind
colors: {
  custom: {
    50: '#c06c97',
    500: '#9f256d',
    950: '#000000',
  },
}
SCSS
$custom: #9f256d;
$custom-light: #c06c97;
$custom-dark: #000000;
JSON
{
  "hex": "#9f256d",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 324.59,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48374,
    "c": 0.17134,
    "h": 349.4
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#9F256D
secondary
#5FC087
accent
#E58542
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F256D

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

Preview Lab → · Contrast checker → · Palette generator →

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