#9F277D#9F277D

#9F277D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.179 H 341.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F277D
RGBrgb(159, 39, 125)
HSLhsl(317, 61%, 39%)
HSVhsv(317, 75%, 62%)
CMYKcmyk(0%, 75.5%, 21.4%, 37.6%)
CIE-LABlab(38.38, 56.53, -20.68)
CIE-LCHlch(38.38, 60.19, 339.91°)
OKLaboklab(49.25% 0.1697 -0.0556)
OKLCHoklch(49.25% 0.179 341.9)
XYZxyz(18.7259, 10.3046, 20.4009)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F277D #279F49
analogous
#85279F #9F277D #9F2741
triadic
#9F277D #7D9F27 #277D9F
tetradic
#9F277D #9F8527 #279F49 #27419F
square
#9F277D #9F8527 #279F49 #27419F
split-complementary
#9F277D #419F27 #279F85
monochromatic
#3D0F30 #6E1B56 #9F277D #CE36A3 #DA67B9

Accessibility & contrast

On white

6.86
#9F277D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F277D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F277D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F277D#FFFFFF#000000##FFFFFF
##9F277D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#58617A
Tritanopia (blue-blind)
#A9294F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f277d;
/* rgb */ color: rgb(159, 39, 125);
/* oklch */ color: oklch(49.2% 0.179 341.9);
Tailwind
colors: {
  custom: {
    50: '#bf6ea3',
    500: '#9f277d',
    950: '#000000',
  },
}
SCSS
$custom: #9f277d;
$custom-light: #bf6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f277d",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 317,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.17856,
    "h": 341.9
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#9F277D
secondary
#62C07D
accent
#E47144
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F277D

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

Preview Lab → · Contrast checker → · Palette generator →

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