#9F255A#9F255A

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

Color values

HEX#9F255A
RGBrgb(159, 37, 90)
HSLhsl(334, 62%, 38%)
HSVhsv(334, 77%, 62%)
CMYKcmyk(0%, 76.7%, 43.4%, 37.6%)
CIE-LABlab(36.81, 53.02, -0.98)
CIE-LCHlch(36.81, 53.03, 358.94°)
OKLaboklab(47.66% 0.1629 -0.0019)
OKLCHoklch(47.66% 0.163 359.3)
XYZxyz(16.8064, 9.4344, 10.6069)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F255A #259F6A
analogous
#9F2597 #9F255A #9F2D25
triadic
#9F255A #5A9F25 #255A9F
tetradic
#9F255A #979F25 #259F6A #2D259F
square
#9F255A #979F25 #259F6A #2D259F
split-complementary
#9F255A #259F2D #25979F
monochromatic
#3C0E22 #6D193E #9F255A #CF3276 #DB6497

Accessibility & contrast

On white

7.28
#9F255A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F255A
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F255A#FFFFFF#000000##FFFFFF
##9F255A1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40485B
Deuteranopia (green-blind)
#615F57
Tritanopia (blue-blind)
#AD103C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f255a;
/* rgb */ color: rgb(159, 37, 90);
/* oklch */ color: oklch(47.7% 0.163 359.3);
Tailwind
colors: {
  custom: {
    50: '#c06c88',
    500: '#9f255a',
    950: '#000000',
  },
}
SCSS
$custom: #9f255a;
$custom-light: #c06c88;
$custom-dark: #000000;
JSON
{
  "hex": "#9f255a",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 333.934,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4766,
    "c": 0.16286,
    "h": 359.3
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#9F255A
secondary
#5FC096
accent
#E59F42
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F255A

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

Preview Lab → · Contrast checker → · Palette generator →

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