#9F255E#9F255E

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

Color values

HEX#9F255E
RGBrgb(159, 37, 94)
HSLhsl(332, 62%, 38%)
HSVhsv(332, 77%, 62%)
CMYKcmyk(0%, 76.7%, 40.9%, 37.6%)
CIE-LABlab(36.94, 53.43, -3.34)
CIE-LCHlch(36.94, 53.53, 356.42°)
OKLaboklab(47.8% 0.1642 -0.0081)
OKLCHoklch(47.8% 0.164 357.2)
XYZxyz(16.9812, 9.5044, 11.5278)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F255E #259F66
analogous
#9F259B #9F255E #9F2925
triadic
#9F255E #5E9F25 #255E9F
tetradic
#9F255E #9B9F25 #259F66 #29259F
square
#9F255E #9B9F25 #259F66 #29259F
split-complementary
#9F255E #259F29 #259B9F
monochromatic
#3C0E23 #6D1941 #9F255E #CF327B #DB649B

Accessibility & contrast

On white

7.24
#9F255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F255E
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F255E#FFFFFF#000000##FFFFFF
##9F255E1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485F
Deuteranopia (green-blind)
#605F5B
Tritanopia (blue-blind)
#AC133E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f255e;
/* rgb */ color: rgb(159, 37, 94);
/* oklch */ color: oklch(47.8% 0.164 357.2);
Tailwind
colors: {
  custom: {
    50: '#c06c8b',
    500: '#9f255e',
    950: '#000000',
  },
}
SCSS
$custom: #9f255e;
$custom-light: #c06c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f255e",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 331.967,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.16436,
    "h": 357.2
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#9F255E
secondary
#5FC093
accent
#E59942
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F255E

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

Preview Lab → · Contrast checker → · Palette generator →

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