#9F2E76#9F2E76

#9F2E76 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.166 H 345.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9F2E76
RGBrgb(159, 46, 118)
HSLhsl(322, 55%, 40%)
HSVhsv(322, 71%, 62%)
CMYKcmyk(0%, 71.1%, 25.8%, 37.6%)
CIE-LABlab(38.96, 53.11, -15.44)
CIE-LCHlch(38.96, 55.31, 343.79°)
OKLaboklab(49.57% 0.1608 -0.0409)
OKLCHoklch(49.57% 0.166 345.7)
XYZxyz(18.5458, 10.6349, 18.2121)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E76 #2E9F57
analogous
#8F2E9F #9F2E76 #9F2E3D
triadic
#9F2E76 #769F2E #2E769F
tetradic
#9F2E76 #9F8F2E #2E9F57 #2E3D9F
square
#9F2E76 #9F8F2E #2E9F57 #2E3D9F
split-complementary
#9F2E76 #3D9F2E #2E9F8F
monochromatic
#401330 #702053 #9F2E76 #C84298 #D671B2

Accessibility & contrast

On white

6.72
#9F2E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F2E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E76
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E76#FFFFFF#000000##FFFFFF
##9F2E761.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#5D6373
Tritanopia (blue-blind)
#AA2C4E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2e76;
/* rgb */ color: rgb(159, 46, 118);
/* oklch */ color: oklch(49.6% 0.166 345.7);
Tailwind
colors: {
  custom: {
    50: '#bf709d',
    500: '#9f2e76',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e76;
$custom-light: #bf709d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e76",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 321.77,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.16588,
    "h": 345.7
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#9F2E76
secondary
#6BBE89
accent
#DE7F49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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