#9F277C#9F277C

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

Color values

HEX#9F277C
RGBrgb(159, 39, 124)
HSLhsl(318, 61%, 39%)
HSVhsv(318, 75%, 62%)
CMYKcmyk(0%, 75.5%, 22%, 37.6%)
CIE-LABlab(38.34, 56.39, -20.13)
CIE-LCHlch(38.34, 59.88, 340.36°)
OKLaboklab(49.2% 0.1695 -0.054)
OKLCHoklch(49.2% 0.178 342.3)
XYZxyz(18.6623, 10.2791, 20.0661)
Luminance0.1028 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F277C #279F4A
analogous
#86279F #9F277C #9F2740
triadic
#9F277C #7C9F27 #277C9F
tetradic
#9F277C #9F8627 #279F4A #27409F
square
#9F277C #9F8627 #279F4A #27409F
split-complementary
#9F277C #409F27 #279F86
monochromatic
#3D0F2F #6E1B56 #9F277C #CE36A1 #DA67B8

Accessibility & contrast

On white

6.87
#9F277C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F277C
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F277C#FFFFFF#000000##FFFFFF
##9F277C1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f277c;
/* rgb */ color: rgb(159, 39, 124);
/* oklch */ color: oklch(49.2% 0.178 342.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ea2',
    500: '#9f277c',
    950: '#000000',
  },
}
SCSS
$custom: #9f277c;
$custom-light: #bf6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f277c",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 317.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49202,
    "c": 0.17792,
    "h": 342.3
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#9F277C
secondary
#62C07D
accent
#E47344
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9F277C

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

Preview Lab → · Contrast checker → · Palette generator →

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