#9F276F#9F276F

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

Color values

HEX#9F276F
RGBrgb(159, 39, 111)
HSLhsl(324, 61%, 39%)
HSVhsv(324, 75%, 62%)
CMYKcmyk(0%, 75.5%, 30.2%, 37.6%)
CIE-LABlab(37.79, 54.71, -12.84)
CIE-LCHlch(37.79, 56.19, 346.80°)
OKLaboklab(48.63% 0.1669 -0.0337)
OKLCHoklch(48.63% 0.17 348.6)
XYZxyz(17.8938, 9.9717, 16.0183)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F276F #279F57
analogous
#93279F #9F276F #9F2733
triadic
#9F276F #6F9F27 #276F9F
tetradic
#9F276F #9F9327 #279F57 #27339F
square
#9F276F #9F9327 #279F57 #27339F
split-complementary
#9F276F #339F27 #279F93
monochromatic
#3D0F2A #6E1B4D #9F276F #CE3691 #DA67AC

Accessibility & contrast

On white

7.01
#9F276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F276F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F276F#FFFFFF#000000##FFFFFF
##9F276F1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C71
Deuteranopia (green-blind)
#5D616C
Tritanopia (blue-blind)
#AB2148
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f276f;
/* rgb */ color: rgb(159, 39, 111);
/* oklch */ color: oklch(48.6% 0.170 348.6);
Tailwind
colors: {
  custom: {
    50: '#c06d98',
    500: '#9f276f',
    950: '#000000',
  },
}
SCSS
$custom: #9f276f;
$custom-light: #c06d98;
$custom-dark: #000000;
JSON
{
  "hex": "#9f276f",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 324,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48626,
    "c": 0.17022,
    "h": 348.6
  },
  "luminance": 0.0997
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F276F

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

Preview Lab → · Contrast checker → · Palette generator →

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