#9F2F6D#9F2F6D

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

Color values

HEX#9F2F6D
RGBrgb(159, 47, 109)
HSLhsl(327, 54%, 40%)
HSVhsv(327, 70%, 62%)
CMYKcmyk(0%, 70.4%, 31.4%, 37.6%)
CIE-LABlab(38.74, 51.57, -10.14)
CIE-LCHlch(38.74, 52.56, 348.88°)
OKLaboklab(49.3% 0.1573 -0.0264)
OKLCHoklch(49.3% 0.16 350.5)
XYZxyz(18.0758, 10.5101, 15.5418)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F6D #2F9F61
analogous
#992F9F #9F2F6D #9F2F35
triadic
#9F2F6D #6D9F2F #2F6D9F
tetradic
#9F2F6D #9F992F #2F9F61 #2F359F
square
#9F2F6D #9F992F #2F9F61 #2F359F
split-complementary
#9F2F6D #359F2F #2F9F99
monochromatic
#41132C #70214D #9F2F6D #C8448D #D673A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2F6D#FFFFFF#000000##FFFFFF
##9F2F6D1.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)
#404F6F
Deuteranopia (green-blind)
#60636A
Tritanopia (blue-blind)
#AB294A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2f6d;
/* rgb */ color: rgb(159, 47, 109);
/* oklch */ color: oklch(49.3% 0.160 350.5);
Tailwind
colors: {
  custom: {
    50: '#bf7196',
    500: '#9f2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f6d;
$custom-light: #bf7196;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f6d",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 326.786,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.15952,
    "h": 350.5
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#9F2F6D
secondary
#6DBD91
accent
#DE8C4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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