#9F2181#9F2181

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

Color values

HEX#9F2181
RGBrgb(159, 33, 129)
HSLhsl(314, 66%, 38%)
HSVhsv(314, 79%, 62%)
CMYKcmyk(0%, 79.2%, 18.9%, 37.6%)
CIE-LABlab(37.92, 58.92, -23.87)
CIE-LCHlch(37.92, 63.57, 337.94°)
OKLaboklab(48.98% 0.1759 -0.0646)
OKLCHoklch(48.98% 0.187 339.8)
XYZxyz(18.8049, 10.0455, 21.7133)
Luminance0.1004 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2181 #219F3F
analogous
#7E219F #9F2181 #9F2142
triadic
#9F2181 #819F21 #21819F
tetradic
#9F2181 #9F7E21 #219F3F #21429F
square
#9F2181 #9F7E21 #219F3F #21429F
split-complementary
#9F2181 #429F21 #219F7E
monochromatic
#3A0C2F #6C1658 #9F2181 #D22CAA #DD5DBF

Accessibility & contrast

On white

6.98
#9F2181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2181
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2181#FFFFFF#000000##FFFFFF
##9F21811.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D84
Deuteranopia (green-blind)
#55607E
Tritanopia (blue-blind)
#A9264F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2181;
/* rgb */ color: rgb(159, 33, 129);
/* oklch */ color: oklch(49.0% 0.187 339.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ba6',
    500: '#9f2181',
    950: '#000000',
  },
}
SCSS
$custom: #9f2181;
$custom-light: #bf6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2181",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 314.286,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.18735,
    "h": 339.8
  },
  "luminance": 0.10044
}

Semantic roles & 50–950 ramp

primary
#9F2181
secondary
#5AC273
accent
#E9683F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F2181

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

Preview Lab → · Contrast checker → · Palette generator →

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