#9F255F#9F255F

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

Color values

HEX#9F255F
RGBrgb(159, 37, 95)
HSLhsl(331, 62%, 38%)
HSVhsv(331, 77%, 62%)
CMYKcmyk(0%, 76.7%, 40.3%, 37.6%)
CIE-LABlab(36.97, 53.53, -3.93)
CIE-LCHlch(36.97, 53.68, 355.80°)
OKLaboklab(47.83% 0.1645 -0.0097)
OKLCHoklch(47.83% 0.165 356.6)
XYZxyz(17.0264, 9.5224, 11.7657)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F255F #259F65
analogous
#9F259C #9F255F #9F2825
triadic
#9F255F #5F9F25 #255F9F
tetradic
#9F255F #9C9F25 #259F65 #28259F
square
#9F255F #9C9F25 #259F65 #28259F
split-complementary
#9F255F #259F28 #259C9F
monochromatic
#3C0E24 #6D1941 #9F255F #CF327D #DB649C

Accessibility & contrast

On white

7.23
#9F255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F255F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F255F#FFFFFF#000000##FFFFFF
##9F255F1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#AC143F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f255f;
/* rgb */ color: rgb(159, 37, 95);
/* oklch */ color: oklch(47.8% 0.165 356.6);
Tailwind
colors: {
  custom: {
    50: '#c06c8c',
    500: '#9f255f',
    950: '#000000',
  },
}
SCSS
$custom: #9f255f;
$custom-light: #c06c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f255f",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 331.475,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.16476,
    "h": 356.6
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#9F255F
secondary
#5FC092
accent
#E59842
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F255F

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

Preview Lab → · Contrast checker → · Palette generator →

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