#9F276E#9F276E

#9F276E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.170 H 349.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F276E
RGBrgb(159, 39, 110)
HSLhsl(325, 61%, 39%)
HSVhsv(325, 75%, 62%)
CMYKcmyk(0%, 75.5%, 30.8%, 37.6%)
CIE-LABlab(37.75, 54.58, -12.27)
CIE-LCHlch(37.75, 55.94, 347.33°)
OKLaboklab(48.58% 0.1666 -0.0321)
OKLCHoklch(48.58% 0.17 349.1)
XYZxyz(17.8390, 9.9498, 15.7299)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F276E #279F58
analogous
#94279F #9F276E #9F2732
triadic
#9F276E #6E9F27 #276E9F
tetradic
#9F276E #9F9427 #279F58 #27329F
square
#9F276E #9F9427 #279F58 #27329F
split-complementary
#9F276E #329F27 #279F94
monochromatic
#3D0F2A #6E1B4C #9F276E #CE3690 #DA67AB

Accessibility & contrast

On white

7.02
#9F276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F276E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F276E#FFFFFF#000000##FFFFFF
##9F276E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f276e;
/* rgb */ color: rgb(159, 39, 110);
/* oklch */ color: oklch(48.6% 0.170 349.1);
Tailwind
colors: {
  custom: {
    50: '#c06d97',
    500: '#9f276e',
    950: '#000000',
  },
}
SCSS
$custom: #9f276e;
$custom-light: #c06d97;
$custom-dark: #000000;
JSON
{
  "hex": "#9f276e",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 324.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48584,
    "c": 0.16968,
    "h": 349.1
  },
  "luminance": 0.09948
}

Semantic roles & 50–950 ramp

primary
#9F276E
secondary
#62C088
accent
#E48544
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F276E

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

Preview Lab → · Contrast checker → · Palette generator →

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