#9F2E7B#9F2E7B

#9F2E7B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.169 H 343.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9F2E7B
RGBrgb(159, 46, 123)
HSLhsl(319, 55%, 40%)
HSVhsv(319, 71%, 62%)
CMYKcmyk(0%, 71.1%, 22.6%, 37.6%)
CIE-LABlab(39.17, 53.79, -18.23)
CIE-LCHlch(39.17, 56.80, 341.28°)
OKLaboklab(49.79% 0.1618 -0.0487)
OKLCHoklch(49.79% 0.169 343.2)
XYZxyz(18.8509, 10.7569, 19.8186)
Luminance0.1076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E7B #2E9F52
analogous
#8A2E9F #9F2E7B #9F2E42
triadic
#9F2E7B #7B9F2E #2E7B9F
tetradic
#9F2E7B #9F8A2E #2E9F52 #2E429F
square
#9F2E7B #9F8A2E #2E9F52 #2E429F
split-complementary
#9F2E7B #429F2E #2E9F8A
monochromatic
#401332 #702056 #9F2E7B #C8429D #D671B6

Accessibility & contrast

On white

6.66
#9F2E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2E7B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E7B#FFFFFF#000000##FFFFFF
##9F2E7B1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#A92E50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2e7b;
/* rgb */ color: rgb(159, 46, 123);
/* oklch */ color: oklch(49.8% 0.169 343.2);
Tailwind
colors: {
  custom: {
    50: '#bf71a1',
    500: '#9f2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e7b;
$custom-light: #bf71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e7b",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 319.115,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49791,
    "c": 0.16899,
    "h": 343.2
  },
  "luminance": 0.10755
}

Semantic roles & 50–950 ramp

primary
#9F2E7B
secondary
#6BBE85
accent
#DE7949
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9F2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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