#9F2E72#9F2E72

#9F2E72 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.164 H 347.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F2E72
RGBrgb(159, 46, 114)
HSLhsl(324, 55%, 40%)
HSVhsv(324, 71%, 62%)
CMYKcmyk(0%, 71.1%, 28.3%, 37.6%)
CIE-LABlab(38.80, 52.59, -13.19)
CIE-LCHlch(38.80, 54.22, 345.92°)
OKLaboklab(49.4% 0.1598 -0.0347)
OKLCHoklch(49.4% 0.164 347.7)
XYZxyz(18.3132, 10.5418, 16.9867)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E72 #2E9F5B
analogous
#942E9F #9F2E72 #9F2E39
triadic
#9F2E72 #729F2E #2E729F
tetradic
#9F2E72 #9F942E #2E9F5B #2E399F
square
#9F2E72 #9F942E #2E9F5B #2E399F
split-complementary
#9F2E72 #399F2E #2E9F94
monochromatic
#40132E #702050 #9F2E72 #C84293 #D671AE

Accessibility & contrast

On white

6.76
#9F2E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F2E72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E72
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E72#FFFFFF#000000##FFFFFF
##9F2E721.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F74
Deuteranopia (green-blind)
#5E636F
Tritanopia (blue-blind)
#AA2A4C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2e72;
/* rgb */ color: rgb(159, 46, 114);
/* oklch */ color: oklch(49.4% 0.164 347.7);
Tailwind
colors: {
  custom: {
    50: '#bf709a',
    500: '#9f2e72',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e72;
$custom-light: #bf709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e72",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 323.894,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49399,
    "c": 0.16354,
    "h": 347.7
  },
  "luminance": 0.1054
}

Semantic roles & 50–950 ramp

primary
#9F2E72
secondary
#6BBE8C
accent
#DE8549
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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