#9F277B#9F277B

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

Color values

HEX#9F277B
RGBrgb(159, 39, 123)
HSLhsl(318, 61%, 39%)
HSVhsv(318, 75%, 62%)
CMYKcmyk(0%, 75.5%, 22.6%, 37.6%)
CIE-LABlab(38.29, 56.26, -19.57)
CIE-LCHlch(38.29, 59.56, 340.82°)
OKLaboklab(49.16% 0.1694 -0.0524)
OKLCHoklch(49.16% 0.177 342.8)
XYZxyz(18.5994, 10.2540, 19.7347)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F277B #279F4B
analogous
#87279F #9F277B #9F273F
triadic
#9F277B #7B9F27 #277B9F
tetradic
#9F277B #9F8727 #279F4B #273F9F
square
#9F277B #9F8727 #279F4B #273F9F
split-complementary
#9F277B #3F9F27 #279F87
monochromatic
#3D0F2F #6E1B55 #9F277B #CE36A0 #DA67B7

Accessibility & contrast

On white

6.88
#9F277B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F277B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F277B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F277B#FFFFFF#000000##FFFFFF
##9F277B1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7D
Deuteranopia (green-blind)
#596178
Tritanopia (blue-blind)
#A9284E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f277b;
/* rgb */ color: rgb(159, 39, 123);
/* oklch */ color: oklch(49.2% 0.177 342.8);
Tailwind
colors: {
  custom: {
    50: '#bf6da1',
    500: '#9f277b',
    950: '#000000',
  },
}
SCSS
$custom: #9f277b;
$custom-light: #bf6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f277b",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 318,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49156,
    "c": 0.17729,
    "h": 342.8
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#9F277B
secondary
#62C07E
accent
#E47444
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9F277B

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

Preview Lab → · Contrast checker → · Palette generator →

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