#9F256F#9F256F

#9F256F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.172 H 348.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F256F
RGBrgb(159, 37, 111)
HSLhsl(324, 62%, 38%)
HSVhsv(324, 77%, 62%)
CMYKcmyk(0%, 76.7%, 30.2%, 37.6%)
CIE-LABlab(37.56, 55.36, -13.19)
CIE-LCHlch(37.56, 56.91, 346.60°)
OKLaboklab(48.46% 0.1689 -0.0347)
OKLCHoklch(48.46% 0.172 348.4)
XYZxyz(17.8298, 9.8438, 15.9969)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F256F #259F55
analogous
#92259F #9F256F #9F2532
triadic
#9F256F #6F9F25 #256F9F
tetradic
#9F256F #9F9225 #259F55 #25329F
square
#9F256F #9F9225 #259F55 #25329F
split-complementary
#9F256F #329F25 #259F92
monochromatic
#3C0E2A #6D194C #9F256F #CF3291 #DB64AC

Accessibility & contrast

On white

7.07
#9F256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F256F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F256F#FFFFFF#000000##FFFFFF
##9F256F1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384B71
Deuteranopia (green-blind)
#5C606C
Tritanopia (blue-blind)
#AB1F47
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f256f;
/* rgb */ color: rgb(159, 37, 111);
/* oklch */ color: oklch(48.5% 0.172 348.4);
Tailwind
colors: {
  custom: {
    50: '#c06c98',
    500: '#9f256f',
    950: '#000000',
  },
}
SCSS
$custom: #9f256f;
$custom-light: #c06c98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f256f",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 323.607,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.17242,
    "h": 348.4
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#9F256F
secondary
#5FC086
accent
#E58342
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F256F

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

Preview Lab → · Contrast checker → · Palette generator →

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