#9F277A#9F277A

#9F277A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.177 H 343.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9F277A
RGBrgb(159, 39, 122)
HSLhsl(319, 61%, 39%)
HSVhsv(319, 75%, 62%)
CMYKcmyk(0%, 75.5%, 23.3%, 37.6%)
CIE-LABlab(38.25, 56.12, -19.02)
CIE-LCHlch(38.25, 59.26, 341.28°)
OKLaboklab(49.11% 0.1692 -0.0509)
OKLCHoklch(49.11% 0.177 343.3)
XYZxyz(18.5371, 10.2291, 19.4067)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F277A #279F4C
analogous
#88279F #9F277A #9F273E
triadic
#9F277A #7A9F27 #277A9F
tetradic
#9F277A #9F8827 #279F4C #273E9F
square
#9F277A #9F8827 #279F4C #273E9F
split-complementary
#9F277A #3E9F27 #279F88
monochromatic
#3D0F2F #6E1B54 #9F277A #CE369F #DA67B6

Accessibility & contrast

On white

6.90
#9F277A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F277A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F277A#FFFFFF#000000##FFFFFF
##9F277A1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7C
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#A9274D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f277a;
/* rgb */ color: rgb(159, 39, 122);
/* oklch */ color: oklch(49.1% 0.177 343.3);
Tailwind
colors: {
  custom: {
    50: '#bf6da0',
    500: '#9f277a',
    950: '#000000',
  },
}
SCSS
$custom: #9f277a;
$custom-light: #bf6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f277a",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 318.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49109,
    "c": 0.17667,
    "h": 343.3
  },
  "luminance": 0.10227
}

Semantic roles & 50–950 ramp

primary
#9F277A
secondary
#62C07F
accent
#E47544
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F277A

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

Preview Lab → · Contrast checker → · Palette generator →

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