#9F2185#9F2185

#9F2185 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.190 H 338.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F2185
RGBrgb(159, 33, 133)
HSLhsl(312, 66%, 38%)
HSVhsv(312, 79%, 62%)
CMYKcmyk(0%, 79.2%, 16.4%, 37.6%)
CIE-LABlab(38.12, 59.48, -26.05)
CIE-LCHlch(38.12, 64.93, 336.35°)
OKLaboklab(49.18% 0.1763 -0.0707)
OKLCHoklch(49.18% 0.19 338.1)
XYZxyz(19.0760, 10.1540, 23.1410)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2185 #219F3B
analogous
#7A219F #9F2185 #9F2146
triadic
#9F2185 #859F21 #21859F
tetradic
#9F2185 #9F7A21 #219F3B #21469F
square
#9F2185 #9F7A21 #219F3B #21469F
split-complementary
#9F2185 #469F21 #219F7A
monochromatic
#3A0C30 #6C165B #9F2185 #D22CAF #DD5DC3

Accessibility & contrast

On white

6.93
#9F2185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2185
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2185#FFFFFF#000000##FFFFFF
##9F21851.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284D88
Deuteranopia (green-blind)
#536182
Tritanopia (blue-blind)
#A82852
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2185;
/* rgb */ color: rgb(159, 33, 133);
/* oklch */ color: oklch(49.2% 0.190 338.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ca9',
    500: '#9f2185',
    950: '#000000',
  },
}
SCSS
$custom: #9f2185;
$custom-light: #bf6ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2185",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 312.381,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4918,
    "c": 0.18999,
    "h": 338.1
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#9F2185
secondary
#5AC26F
accent
#E9623F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F2185

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

Preview Lab → · Contrast checker → · Palette generator →

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