#9F2F6B#9F2F6B

#9F2F6B is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.158 H 351.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F2F6B
RGBrgb(159, 47, 107)
HSLhsl(328, 54%, 40%)
HSVhsv(328, 70%, 62%)
CMYKcmyk(0%, 70.4%, 32.7%, 37.6%)
CIE-LABlab(38.67, 51.33, -8.99)
CIE-LCHlch(38.67, 52.11, 350.06°)
OKLaboklab(49.22% 0.1568 -0.0233)
OKLCHoklch(49.22% 0.158 351.6)
XYZxyz(17.9694, 10.4675, 14.9812)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F6B #2F9F63
analogous
#9B2F9F #9F2F6B #9F2F33
triadic
#9F2F6B #6B9F2F #2F6B9F
tetradic
#9F2F6B #9F9B2F #2F9F63 #2F339F
square
#9F2F6B #9F9B2F #2F9F63 #2F339F
split-complementary
#9F2F6B #339F2F #2F9F9B
monochromatic
#41132B #70214B #9F2F6B #C8448A #D673A8

Accessibility & contrast

On white

6.79
#9F2F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F2F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F6B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F6B#FFFFFF#000000##FFFFFF
##9F2F6B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6D
Deuteranopia (green-blind)
#616268
Tritanopia (blue-blind)
#AB2849
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2f6b;
/* rgb */ color: rgb(159, 47, 107);
/* oklch */ color: oklch(49.2% 0.158 351.6);
Tailwind
colors: {
  custom: {
    50: '#bf7095',
    500: '#9f2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f6b;
$custom-light: #bf7095;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f6b",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 327.857,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49217,
    "c": 0.15849,
    "h": 351.6
  },
  "luminance": 0.10465
}

Semantic roles & 50–950 ramp

primary
#9F2F6B
secondary
#6DBD92
accent
#DE8F4A
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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