#9F2E71#9F2E71

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

Color values

HEX#9F2E71
RGBrgb(159, 46, 113)
HSLhsl(324, 55%, 40%)
HSVhsv(324, 71%, 62%)
CMYKcmyk(0%, 71.1%, 28.9%, 37.6%)
CIE-LABlab(38.76, 52.46, -12.62)
CIE-LCHlch(38.76, 53.96, 346.47°)
OKLaboklab(49.36% 0.1596 -0.0332)
OKLCHoklch(49.36% 0.163 348.3)
XYZxyz(18.2566, 10.5192, 16.6885)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E71 #2E9F5C
analogous
#952E9F #9F2E71 #9F2E38
triadic
#9F2E71 #719F2E #2E719F
tetradic
#9F2E71 #9F952E #2E9F5C #2E389F
square
#9F2E71 #9F952E #2E9F5C #2E389F
split-complementary
#9F2E71 #389F2E #2E9F95
monochromatic
#40132E #70204F #9F2E71 #C84292 #D671AD

Accessibility & contrast

On white

6.77
#9F2E71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F2E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E71
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E71#FFFFFF#000000##FFFFFF
##9F2E711.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#5F626E
Tritanopia (blue-blind)
#AA294B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2e71;
/* rgb */ color: rgb(159, 46, 113);
/* oklch */ color: oklch(49.4% 0.163 348.3);
Tailwind
colors: {
  custom: {
    50: '#bf7099',
    500: '#9f2e71',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e71;
$custom-light: #bf7099;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e71",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 324.425,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.16297,
    "h": 348.3
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#9F2E71
secondary
#6BBE8D
accent
#DE8649
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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