#9F2770#9F2770

#9F2770 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.171 H 348.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9F2770
RGBrgb(159, 39, 112)
HSLhsl(324, 61%, 39%)
HSVhsv(324, 75%, 62%)
CMYKcmyk(0%, 75.5%, 29.6%, 37.6%)
CIE-LABlab(37.83, 54.83, -13.40)
CIE-LCHlch(37.83, 56.44, 346.26°)
OKLaboklab(48.67% 0.1671 -0.0353)
OKLCHoklch(48.67% 0.171 348.1)
XYZxyz(17.9491, 9.9938, 16.3099)
Luminance0.0999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2770 #279F56
analogous
#92279F #9F2770 #9F2734
triadic
#9F2770 #709F27 #27709F
tetradic
#9F2770 #9F9227 #279F56 #27349F
square
#9F2770 #9F9227 #279F56 #27349F
split-complementary
#9F2770 #349F27 #279F92
monochromatic
#3D0F2B #6E1B4D #9F2770 #CE3692 #DA67AD

Accessibility & contrast

On white

7.00
#9F2770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9F2770 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2770
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2770#FFFFFF#000000##FFFFFF
##9F27701.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C72
Deuteranopia (green-blind)
#5C616D
Tritanopia (blue-blind)
#AB2248
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2770;
/* rgb */ color: rgb(159, 39, 112);
/* oklch */ color: oklch(48.7% 0.171 348.1);
Tailwind
colors: {
  custom: {
    50: '#c06d99',
    500: '#9f2770',
    950: '#000000',
  },
}
SCSS
$custom: #9f2770;
$custom-light: #c06d99;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2770",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 323.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48668,
    "c": 0.17077,
    "h": 348.1
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#9F2770
secondary
#62C087
accent
#E48344
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9F2770

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

Preview Lab → · Contrast checker → · Palette generator →

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