#9F2E7A#9F2E7A

#9F2E7A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.168 H 343.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9F2E7A
RGBrgb(159, 46, 122)
HSLhsl(320, 55%, 40%)
HSVhsv(320, 71%, 62%)
CMYKcmyk(0%, 71.1%, 23.3%, 37.6%)
CIE-LABlab(39.13, 53.66, -17.67)
CIE-LCHlch(39.13, 56.49, 341.77°)
OKLaboklab(49.75% 0.1616 -0.0472)
OKLCHoklch(49.75% 0.168 343.7)
XYZxyz(18.7886, 10.7320, 19.4906)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E7A #2E9F53
analogous
#8B2E9F #9F2E7A #9F2E41
triadic
#9F2E7A #7A9F2E #2E7A9F
tetradic
#9F2E7A #9F8B2E #2E9F53 #2E419F
square
#9F2E7A #9F8B2E #2E9F53 #2E419F
split-complementary
#9F2E7A #419F2E #2E9F8B
monochromatic
#401331 #702056 #9F2E7A #C8429C #D671B5

Accessibility & contrast

On white

6.68
#9F2E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F2E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E7A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E7A#FFFFFF#000000##FFFFFF
##9F2E7A1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A507C
Deuteranopia (green-blind)
#5C6377
Tritanopia (blue-blind)
#A92E50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2e7a;
/* rgb */ color: rgb(159, 46, 122);
/* oklch */ color: oklch(49.7% 0.168 343.7);
Tailwind
colors: {
  custom: {
    50: '#bf70a0',
    500: '#9f2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e7a;
$custom-light: #bf70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e7a",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 319.646,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49746,
    "c": 0.16835,
    "h": 343.7
  },
  "luminance": 0.1073
}

Semantic roles & 50–950 ramp

primary
#9F2E7A
secondary
#6BBE86
accent
#DE7A49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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