#9F277F#9F277F

#9F277F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.180 H 341.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F277F
RGBrgb(159, 39, 127)
HSLhsl(316, 61%, 39%)
HSVhsv(316, 75%, 62%)
CMYKcmyk(0%, 75.5%, 20.1%, 37.6%)
CIE-LABlab(38.47, 56.80, -21.78)
CIE-LCHlch(38.47, 60.84, 339.02°)
OKLaboklab(49.35% 0.17 -0.0587)
OKLCHoklch(49.35% 0.18 341)
XYZxyz(18.8549, 10.3562, 21.0805)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F277F #279F47
analogous
#83279F #9F277F #9F2743
triadic
#9F277F #7F9F27 #277F9F
tetradic
#9F277F #9F8327 #279F47 #27439F
square
#9F277F #9F8327 #279F47 #27439F
split-complementary
#9F277F #439F27 #279F83
monochromatic
#3D0F30 #6E1B58 #9F277F #CE36A5 #DA67BB

Accessibility & contrast

On white

6.84
#9F277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F277F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F277F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F277F#FFFFFF#000000##FFFFFF
##9F277F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#A92A50
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f277f;
/* rgb */ color: rgb(159, 39, 127);
/* oklch */ color: oklch(49.3% 0.180 341.0);
Tailwind
colors: {
  custom: {
    50: '#bf6ea4',
    500: '#9f277f',
    950: '#000000',
  },
}
SCSS
$custom: #9f277f;
$custom-light: #bf6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f277f",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 316,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.17985,
    "h": 341
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#9F277F
secondary
#62C07B
accent
#E46F44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F277F

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

Preview Lab → · Contrast checker → · Palette generator →

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