#9F276A#9F276A

#9F276A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.168 H 351.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9F276A
RGBrgb(159, 39, 106)
HSLhsl(327, 61%, 39%)
HSVhsv(327, 75%, 62%)
CMYKcmyk(0%, 75.5%, 33.3%, 37.6%)
CIE-LABlab(37.60, 54.10, -9.98)
CIE-LCHlch(37.60, 55.01, 349.55°)
OKLaboklab(48.42% 0.1656 -0.0259)
OKLCHoklch(48.42% 0.168 351.1)
XYZxyz(17.6261, 9.8646, 14.6087)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F276A #279F5C
analogous
#98279F #9F276A #9F272E
triadic
#9F276A #6A9F27 #276A9F
tetradic
#9F276A #9F9827 #279F5C #272E9F
square
#9F276A #9F9827 #279F5C #272E9F
split-complementary
#9F276A #2E9F27 #279F98
monochromatic
#3D0F28 #6E1B49 #9F276A #CE368A #DA67A7

Accessibility & contrast

On white

7.06
#9F276A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F276A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F276A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F276A#FFFFFF#000000##FFFFFF
##9F276A1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4B6C
Deuteranopia (green-blind)
#5E6067
Tritanopia (blue-blind)
#AB1E45
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f276a;
/* rgb */ color: rgb(159, 39, 106);
/* oklch */ color: oklch(48.4% 0.168 351.1);
Tailwind
colors: {
  custom: {
    50: '#c06d94',
    500: '#9f276a',
    950: '#000000',
  },
}
SCSS
$custom: #9f276a;
$custom-light: #c06d94;
$custom-dark: #000000;
JSON
{
  "hex": "#9f276a",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 326.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48421,
    "c": 0.16759,
    "h": 351.1
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#9F276A
secondary
#62C08B
accent
#E48B44
background
#FCF6F9
surface
#F8ECF1
border
#D1C7CB
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F276A

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

Preview Lab → · Contrast checker → · Palette generator →

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