#9F2E6B#9F2E6B

#9F2E6B is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.160 H 351.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9F2E6B
RGBrgb(159, 46, 107)
HSLhsl(328, 55%, 40%)
HSVhsv(328, 71%, 62%)
CMYKcmyk(0%, 71.1%, 32.7%, 37.6%)
CIE-LABlab(38.53, 51.71, -9.20)
CIE-LCHlch(38.53, 52.52, 349.91°)
OKLaboklab(49.12% 0.158 -0.0238)
OKLCHoklch(49.12% 0.16 351.4)
XYZxyz(17.9299, 10.3885, 14.9680)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E6B #2E9F62
analogous
#9B2E9F #9F2E6B #9F2E32
triadic
#9F2E6B #6B9F2E #2E6B9F
tetradic
#9F2E6B #9F9B2E #2E9F62 #2E329F
square
#9F2E6B #9F9B2E #2E9F62 #2E329F
split-complementary
#9F2E6B #329F2E #2E9F9B
monochromatic
#40132B #70204B #9F2E6B #C8428A #D671A8

Accessibility & contrast

On white

6.82
#9F2E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F2E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E6B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E6B#FFFFFF#000000##FFFFFF
##9F2E6B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6D
Deuteranopia (green-blind)
#606268
Tritanopia (blue-blind)
#AB2748
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2e6b;
/* rgb */ color: rgb(159, 46, 107);
/* oklch */ color: oklch(49.1% 0.160 351.4);
Tailwind
colors: {
  custom: {
    50: '#bf7095',
    500: '#9f2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e6b;
$custom-light: #bf7095;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e6b",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 327.611,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.15976,
    "h": 351.4
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#9F2E6B
secondary
#6BBE91
accent
#DE8E49
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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