#9F276B#9F276B

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

Color values

HEX#9F276B
RGBrgb(159, 39, 107)
HSLhsl(326, 61%, 39%)
HSVhsv(326, 75%, 62%)
CMYKcmyk(0%, 75.5%, 32.7%, 37.6%)
CIE-LABlab(37.64, 54.22, -10.55)
CIE-LCHlch(37.64, 55.24, 348.99°)
OKLaboklab(48.46% 0.1659 -0.0274)
OKLCHoklch(48.46% 0.168 350.6)
XYZxyz(17.6784, 9.8856, 14.8842)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F276B #279F5B
analogous
#97279F #9F276B #9F272F
triadic
#9F276B #6B9F27 #276B9F
tetradic
#9F276B #9F9727 #279F5B #272F9F
square
#9F276B #9F9727 #279F5B #272F9F
split-complementary
#9F276B #2F9F27 #279F97
monochromatic
#3D0F29 #6E1B4A #9F276B #CE368C #DA67A8

Accessibility & contrast

On white

7.05
#9F276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F276B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F276B#FFFFFF#000000##FFFFFF
##9F276B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4B6D
Deuteranopia (green-blind)
#5E6068
Tritanopia (blue-blind)
#AB1F45
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f276b;
/* rgb */ color: rgb(159, 39, 107);
/* oklch */ color: oklch(48.5% 0.168 350.6);
Tailwind
colors: {
  custom: {
    50: '#c06d95',
    500: '#9f276b',
    950: '#000000',
  },
}
SCSS
$custom: #9f276b;
$custom-light: #c06d95;
$custom-dark: #000000;
JSON
{
  "hex": "#9f276b",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 326,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48461,
    "c": 0.16811,
    "h": 350.6
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F276B

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

Preview Lab → · Contrast checker → · Palette generator →

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