#9F276D#9F276D

#9F276D is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.169 H 349.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9F276D
RGBrgb(159, 39, 109)
HSLhsl(325, 61%, 39%)
HSVhsv(325, 75%, 62%)
CMYKcmyk(0%, 75.5%, 31.4%, 37.6%)
CIE-LABlab(37.71, 54.46, -11.70)
CIE-LCHlch(37.71, 55.70, 347.88°)
OKLaboklab(48.54% 0.1664 -0.0306)
OKLCHoklch(48.54% 0.169 349.6)
XYZxyz(17.7849, 9.9281, 15.4448)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F276D #279F59
analogous
#95279F #9F276D #9F2731
triadic
#9F276D #6D9F27 #276D9F
tetradic
#9F276D #9F9527 #279F59 #27319F
square
#9F276D #9F9527 #279F59 #27319F
split-complementary
#9F276D #319F27 #279F95
monochromatic
#3D0F2A #6E1B4B #9F276D #CE368E #DA67AA

Accessibility & contrast

On white

7.03
#9F276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F276D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F276D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F276D#FFFFFF#000000##FFFFFF
##9F276D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4B6F
Deuteranopia (green-blind)
#5D606A
Tritanopia (blue-blind)
#AB2047
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f276d;
/* rgb */ color: rgb(159, 39, 109);
/* oklch */ color: oklch(48.5% 0.169 349.6);
Tailwind
colors: {
  custom: {
    50: '#c06d96',
    500: '#9f276d',
    950: '#000000',
  },
}
SCSS
$custom: #9f276d;
$custom-light: #c06d96;
$custom-dark: #000000;
JSON
{
  "hex": "#9f276d",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 325,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48543,
    "c": 0.16915,
    "h": 349.6
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#9F276D
secondary
#62C089
accent
#E48744
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F276D

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

Preview Lab → · Contrast checker → · Palette generator →

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