#9F2180#9F2180

#9F2180 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.187 H 340.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9F2180
RGBrgb(159, 33, 128)
HSLhsl(315, 66%, 38%)
HSVhsv(315, 79%, 62%)
CMYKcmyk(0%, 79.2%, 19.5%, 37.6%)
CIE-LABlab(37.88, 58.78, -23.33)
CIE-LCHlch(37.88, 63.24, 338.35°)
OKLaboklab(48.93% 0.1758 -0.063)
OKLCHoklch(48.93% 0.187 340.3)
XYZxyz(18.7388, 10.0191, 21.3649)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2180 #219F40
analogous
#7F219F #9F2180 #9F2141
triadic
#9F2180 #809F21 #21809F
tetradic
#9F2180 #9F7F21 #219F40 #21419F
square
#9F2180 #9F7F21 #219F40 #21419F
split-complementary
#9F2180 #419F21 #219F7F
monochromatic
#3A0C2E #6C1657 #9F2180 #D22CA9 #DD5DBE

Accessibility & contrast

On white

6.99
#9F2180 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2180
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2180#FFFFFF#000000##FFFFFF
##9F21801.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C82
Deuteranopia (green-blind)
#55607D
Tritanopia (blue-blind)
#A9254F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2180;
/* rgb */ color: rgb(159, 33, 128);
/* oklch */ color: oklch(48.9% 0.187 340.3);
Tailwind
colors: {
  custom: {
    50: '#bf6ba5',
    500: '#9f2180',
    950: '#000000',
  },
}
SCSS
$custom: #9f2180;
$custom-light: #bf6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2180",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 314.762,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48928,
    "c": 0.1867,
    "h": 340.3
  },
  "luminance": 0.10017
}

Semantic roles & 50–950 ramp

primary
#9F2180
secondary
#5AC274
accent
#E9693F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2180

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

Preview Lab → · Contrast checker → · Palette generator →

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