#9F2B72#9F2B72

#9F2B72 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.167 H 347.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F2B72
RGBrgb(159, 43, 114)
HSLhsl(323, 57%, 40%)
HSVhsv(323, 73%, 62%)
CMYKcmyk(0%, 73%, 28.3%, 37.6%)
CIE-LABlab(38.40, 53.70, -13.79)
CIE-LCHlch(38.40, 55.44, 345.60°)
OKLaboklab(49.11% 0.1633 -0.0364)
OKLCHoklch(49.11% 0.167 347.4)
XYZxyz(18.2001, 10.3156, 16.9490)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B72 #2B9F58
analogous
#922B9F #9F2B72 #9F2B38
triadic
#9F2B72 #729F2B #2B729F
tetradic
#9F2B72 #9F922B #2B9F58 #2B389F
square
#9F2B72 #9F922B #2B9F58 #2B389F
split-complementary
#9F2B72 #389F2B #2B9F92
monochromatic
#3F112D #6F1E4F #9F2B72 #CA3D93 #D76DAE

Accessibility & contrast

On white

6.86
#9F2B72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F2B72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B72
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B72#FFFFFF#000000##FFFFFF
##9F2B721.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4E74
Deuteranopia (green-blind)
#5D626F
Tritanopia (blue-blind)
#AA274B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2b72;
/* rgb */ color: rgb(159, 43, 114);
/* oklch */ color: oklch(49.1% 0.167 347.4);
Tailwind
colors: {
  custom: {
    50: '#bf6f9a',
    500: '#9f2b72',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b72;
$custom-light: #bf6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b72",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 323.276,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.16725,
    "h": 347.4
  },
  "luminance": 0.10314
}

Semantic roles & 50–950 ramp

primary
#9F2B72
secondary
#67BE89
accent
#E18347
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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