#9F2162#9F2162

#9F2162 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.170 H 354.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9F2162
RGBrgb(159, 33, 98)
HSLhsl(329, 66%, 38%)
HSVhsv(329, 79%, 62%)
CMYKcmyk(0%, 79.2%, 38.4%, 37.6%)
CIE-LABlab(36.64, 55.10, -6.34)
CIE-LCHlch(36.64, 55.46, 353.43°)
OKLaboklab(47.62% 0.1694 -0.0161)
OKLCHoklch(47.62% 0.17 354.6)
XYZxyz(17.0477, 9.3426, 12.4585)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2162 #219F5E
analogous
#9D219F #9F2162 #9F2123
triadic
#9F2162 #629F21 #21629F
tetradic
#9F2162 #9F9D21 #219F5E #21239F
square
#9F2162 #9F9D21 #219F5E #21239F
split-complementary
#9F2162 #239F21 #219F9D
monochromatic
#3A0C24 #6C1643 #9F2162 #D22C81 #DD5D9F

Accessibility & contrast

On white

7.32
#9F2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2162
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2162#FFFFFF#000000##FFFFFF
##9F21621.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4764
Deuteranopia (green-blind)
#5E5E5F
Tritanopia (blue-blind)
#AC103F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f2162;
/* rgb */ color: rgb(159, 33, 98);
/* oklch */ color: oklch(47.6% 0.170 354.6);
Tailwind
colors: {
  custom: {
    50: '#c06a8e',
    500: '#9f2162',
    950: '#000000',
  },
}
SCSS
$custom: #9f2162;
$custom-light: #c06a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2162",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 329.048,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.17011,
    "h": 354.6
  },
  "luminance": 0.0934
}

Semantic roles & 50–950 ramp

primary
#9F2162
secondary
#5AC28C
accent
#E9913F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F2162

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

Preview Lab → · Contrast checker → · Palette generator →

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