#9F277E#9F277E

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

Color values

HEX#9F277E
RGBrgb(159, 39, 126)
HSLhsl(317, 61%, 39%)
HSVhsv(317, 75%, 62%)
CMYKcmyk(0%, 75.5%, 20.8%, 37.6%)
CIE-LABlab(38.43, 56.67, -21.23)
CIE-LCHlch(38.43, 60.51, 339.46°)
OKLaboklab(49.3% 0.1699 -0.0571)
OKLCHoklch(49.3% 0.179 341.4)
XYZxyz(18.7901, 10.3302, 20.7390)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F277E #279F48
analogous
#84279F #9F277E #9F2742
triadic
#9F277E #7E9F27 #277E9F
tetradic
#9F277E #9F8427 #279F48 #27429F
square
#9F277E #9F8427 #279F48 #27429F
split-complementary
#9F277E #429F27 #279F84
monochromatic
#3D0F30 #6E1B57 #9F277E #CE36A4 #DA67BA

Accessibility & contrast

On white

6.85
#9F277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F277E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F277E#FFFFFF#000000##FFFFFF
##9F277E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f277e;
/* rgb */ color: rgb(159, 39, 126);
/* oklch */ color: oklch(49.3% 0.179 341.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ea3',
    500: '#9f277e',
    950: '#000000',
  },
}
SCSS
$custom: #9f277e;
$custom-light: #bf6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f277e",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 316.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49297,
    "c": 0.1792,
    "h": 341.4
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#9F277E
secondary
#62C07C
accent
#E47044
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F277E

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

Preview Lab → · Contrast checker → · Palette generator →

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