#9F255D#9F255D

#9F255D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.164 H 357.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9F255D
RGBrgb(159, 37, 93)
HSLhsl(332, 62%, 38%)
HSVhsv(332, 77%, 62%)
CMYKcmyk(0%, 76.7%, 41.5%, 37.6%)
CIE-LABlab(36.90, 53.33, -2.75)
CIE-LCHlch(36.90, 53.40, 357.04°)
OKLaboklab(47.76% 0.1638 -0.0066)
OKLCHoklch(47.76% 0.164 357.7)
XYZxyz(16.9367, 9.4865, 11.2930)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F255D #259F67
analogous
#9F259A #9F255D #9F2A25
triadic
#9F255D #5D9F25 #255D9F
tetradic
#9F255D #9A9F25 #259F67 #2A259F
square
#9F255D #9A9F25 #259F67 #2A259F
split-complementary
#9F255D #259F2A #259A9F
monochromatic
#3C0E23 #6D1940 #9F255D #CF327A #DB649A

Accessibility & contrast

On white

7.25
#9F255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F255D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F255D#FFFFFF#000000##FFFFFF
##9F255D1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485E
Deuteranopia (green-blind)
#615F5A
Tritanopia (blue-blind)
#AC123E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f255d;
/* rgb */ color: rgb(159, 37, 93);
/* oklch */ color: oklch(47.8% 0.164 357.7);
Tailwind
colors: {
  custom: {
    50: '#c06c8a',
    500: '#9f255d',
    950: '#000000',
  },
}
SCSS
$custom: #9f255d;
$custom-light: #c06c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f255d",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 332.459,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47763,
    "c": 0.16397,
    "h": 357.7
  },
  "luminance": 0.09484
}

Semantic roles & 50–950 ramp

primary
#9F255D
secondary
#5FC094
accent
#E59B42
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F255D

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

Preview Lab → · Contrast checker → · Palette generator →

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