#9F255C#9F255C

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

Color values

HEX#9F255C
RGBrgb(159, 37, 92)
HSLhsl(333, 62%, 38%)
HSVhsv(333, 77%, 62%)
CMYKcmyk(0%, 76.7%, 42.1%, 37.6%)
CIE-LABlab(36.87, 53.22, -2.16)
CIE-LCHlch(36.87, 53.27, 357.67°)
OKLaboklab(47.73% 0.1635 -0.005)
OKLCHoklch(47.73% 0.164 358.2)
XYZxyz(16.8927, 9.4689, 11.0613)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F255C #259F68
analogous
#9F2599 #9F255C #9F2B25
triadic
#9F255C #5C9F25 #255C9F
tetradic
#9F255C #999F25 #259F68 #2B259F
square
#9F255C #999F25 #259F68 #2B259F
split-complementary
#9F255C #259F2B #25999F
monochromatic
#3C0E23 #6D193F #9F255C #CF3279 #DB6499

Accessibility & contrast

On white

7.26
#9F255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F255C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F255C#FFFFFF#000000##FFFFFF
##9F255C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F485D
Deuteranopia (green-blind)
#615F59
Tritanopia (blue-blind)
#AC123D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f255c;
/* rgb */ color: rgb(159, 37, 92);
/* oklch */ color: oklch(47.7% 0.164 358.2);
Tailwind
colors: {
  custom: {
    50: '#c06c8a',
    500: '#9f255c',
    950: '#000000',
  },
}
SCSS
$custom: #9f255c;
$custom-light: #c06c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f255c",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 332.951,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47728,
    "c": 0.16359,
    "h": 358.2
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F255C

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

Preview Lab → · Contrast checker → · Palette generator →

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