#9F2055#9F2055

#9F2055 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.166 H 1.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9F2055
RGBrgb(159, 32, 85)
HSLhsl(335, 66%, 37%)
HSVhsv(335, 80%, 62%)
CMYKcmyk(0%, 79.9%, 46.5%, 37.6%)
CIE-LABlab(36.10, 54.09, 1.21)
CIE-LCHlch(36.10, 54.10, 1.28°)
OKLaboklab(47.09% 0.1661 0.0037)
OKLCHoklch(47.09% 0.166 1.3)
XYZxyz(16.4556, 9.0621, 9.4752)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2055 #209F6A
analogous
#9F2094 #9F2055 #9F2B20
triadic
#9F2055 #559F20 #20559F
tetradic
#9F2055 #949F20 #209F6A #2B209F
square
#9F2055 #949F20 #209F6A #2B209F
split-complementary
#9F2055 #209F2B #20949F
monochromatic
#390B1F #6C163A #9F2055 #D22A70 #DE5B92

Accessibility & contrast

On white

7.47
#9F2055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9F2055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2055
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2055#FFFFFF#000000##FFFFFF
##9F20551.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4556
Deuteranopia (green-blind)
#615E52
Tritanopia (blue-blind)
#AD0038
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f2055;
/* rgb */ color: rgb(159, 32, 85);
/* oklch */ color: oklch(47.1% 0.166 1.3);
Tailwind
colors: {
  custom: {
    50: '#c16984',
    500: '#9f2055',
    950: '#000000',
  },
}
SCSS
$custom: #9f2055;
$custom-light: #c16984;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2055",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 85
  },
  "hsl": {
    "h": 334.961,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47093,
    "c": 0.16615,
    "h": 1.3
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#9F2055
secondary
#59C296
accent
#E9A23E
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F2055

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

Preview Lab → · Contrast checker → · Palette generator →

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