#9F2182#9F2182

#9F2182 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.0% C 0.188 H 339.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F2182
RGBrgb(159, 33, 130)
HSLhsl(314, 66%, 38%)
HSVhsv(314, 79%, 62%)
CMYKcmyk(0%, 79.2%, 18.2%, 37.6%)
CIE-LABlab(37.97, 59.06, -24.42)
CIE-LCHlch(37.97, 63.91, 337.54°)
OKLaboklab(49.03% 0.176 -0.0661)
OKLCHoklch(49.03% 0.188 339.4)
XYZxyz(18.8717, 10.0722, 22.0650)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2182 #219F3E
analogous
#7D219F #9F2182 #9F2143
triadic
#9F2182 #829F21 #21829F
tetradic
#9F2182 #9F7D21 #219F3E #21439F
square
#9F2182 #9F7D21 #219F3E #21439F
split-complementary
#9F2182 #439F21 #219F7D
monochromatic
#3A0C2F #6C1659 #9F2182 #D22CAB #DD5DC0

Accessibility & contrast

On white

6.97
#9F2182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F2182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2182
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2182#FFFFFF#000000##FFFFFF
##9F21821.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#54607F
Tritanopia (blue-blind)
#A92750
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2182;
/* rgb */ color: rgb(159, 33, 130);
/* oklch */ color: oklch(49.0% 0.188 339.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ba6',
    500: '#9f2182',
    950: '#000000',
  },
}
SCSS
$custom: #9f2182;
$custom-light: #bf6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2182",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 313.81,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49028,
    "c": 0.18801,
    "h": 339.4
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#9F2182
secondary
#5AC272
accent
#E9663F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2182

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

Preview Lab → · Contrast checker → · Palette generator →

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