#9F255B#9F255B

#9F255B is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.163 H 358.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9F255B
RGBrgb(159, 37, 91)
HSLhsl(333, 62%, 38%)
HSVhsv(333, 77%, 62%)
CMYKcmyk(0%, 76.7%, 42.8%, 37.6%)
CIE-LABlab(36.84, 53.12, -1.57)
CIE-LCHlch(36.84, 53.14, 358.31°)
OKLaboklab(47.69% 0.1632 -0.0035)
OKLCHoklch(47.69% 0.163 358.8)
XYZxyz(16.8492, 9.4516, 10.8326)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F255B #259F69
analogous
#9F2598 #9F255B #9F2C25
triadic
#9F255B #5B9F25 #255B9F
tetradic
#9F255B #989F25 #259F69 #2C259F
square
#9F255B #989F25 #259F69 #2C259F
split-complementary
#9F255B #259F2C #25989F
monochromatic
#3C0E22 #6D193F #9F255B #CF3278 #DB6498

Accessibility & contrast

On white

7.27
#9F255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9F255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F255B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F255B#FFFFFF#000000##FFFFFF
##9F255B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485C
Deuteranopia (green-blind)
#615F58
Tritanopia (blue-blind)
#AC113D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f255b;
/* rgb */ color: rgb(159, 37, 91);
/* oklch */ color: oklch(47.7% 0.163 358.8);
Tailwind
colors: {
  custom: {
    50: '#c06c89',
    500: '#9f255b',
    950: '#000000',
  },
}
SCSS
$custom: #9f255b;
$custom-light: #c06c89;
$custom-dark: #000000;
JSON
{
  "hex": "#9f255b",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 333.443,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.16322,
    "h": 358.8
  },
  "luminance": 0.09449
}

Semantic roles & 50–950 ramp

primary
#9F255B
secondary
#5FC095
accent
#E59D42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F255B

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

Preview Lab → · Contrast checker → · Palette generator →

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