#9F2062#9F2062

#9F2062 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.171 H 354.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9F2062
RGBrgb(159, 32, 98)
HSLhsl(329, 66%, 37%)
HSVhsv(329, 80%, 62%)
CMYKcmyk(0%, 79.9%, 38.4%, 37.6%)
CIE-LABlab(36.53, 55.39, -6.50)
CIE-LCHlch(36.53, 55.77, 353.31°)
OKLaboklab(47.55% 0.1703 -0.0165)
OKLCHoklch(47.55% 0.171 354.5)
XYZxyz(17.0203, 9.2879, 12.4494)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2062 #209F5D
analogous
#9D209F #9F2062 #9F2022
triadic
#9F2062 #629F20 #20629F
tetradic
#9F2062 #9F9D20 #209F5D #20229F
square
#9F2062 #9F9D20 #209F5D #20229F
split-complementary
#9F2062 #229F20 #209F9D
monochromatic
#390B23 #6C1643 #9F2062 #D22A81 #DE5B9F

Accessibility & contrast

On white

7.35
#9F2062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F2062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2062
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2062#FFFFFF#000000##FFFFFF
##9F20621.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2062;
/* rgb */ color: rgb(159, 32, 98);
/* oklch */ color: oklch(47.5% 0.171 354.5);
Tailwind
colors: {
  custom: {
    50: '#c06a8e',
    500: '#9f2062',
    950: '#000000',
  },
}
SCSS
$custom: #9f2062;
$custom-light: #c06a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2062",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 328.819,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47547,
    "c": 0.17108,
    "h": 354.5
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#9F2062
secondary
#59C28B
accent
#E9913E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F2062

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

Preview Lab → · Contrast checker → · Palette generator →

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