#9F2B4D#9F2B4D

#9F2B4D is a mid, vivid pink. Relative luminance 0.096; OKLCH L 47.8% C 0.153 H 7.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9F2B4D
RGBrgb(159, 43, 77)
HSLhsl(342, 57%, 40%)
HSVhsv(342, 73%, 62%)
CMYKcmyk(0%, 73%, 51.6%, 37.6%)
CIE-LABlab(37.18, 49.71, 7.89)
CIE-LCHlch(37.18, 50.33, 9.02°)
OKLaboklab(47.81% 0.1514 0.0204)
OKLCHoklch(47.81% 0.153 7.7)
XYZxyz(16.5029, 9.6367, 8.0108)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B4D #2B9F7D
analogous
#9F2B87 #9F2B4D #9F432B
triadic
#9F2B4D #4D9F2B #2B4D9F
tetradic
#9F2B4D #879F2B #2B9F7D #432B9F
square
#9F2B4D #879F2B #2B9F7D #432B9F
split-complementary
#9F2B4D #2B9F43 #2B879F
monochromatic
#3F111E #6F1E36 #9F2B4D #CA3D66 #D76D8C

Accessibility & contrast

On white

7.17
#9F2B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F2B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2B4D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B4D#FFFFFF#000000##FFFFFF
##9F2B4D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47494E
Deuteranopia (green-blind)
#65604A
Tritanopia (blue-blind)
#AD1239
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f2b4d;
/* rgb */ color: rgb(159, 43, 77);
/* oklch */ color: oklch(47.8% 0.153 7.7);
Tailwind
colors: {
  custom: {
    50: '#c16e7e',
    500: '#9f2b4d',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b4d;
$custom-light: #c16e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b4d",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 77
  },
  "hsl": {
    "h": 342.414,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47814,
    "c": 0.15274,
    "h": 7.7
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#9F2B4D
secondary
#67BEA5
accent
#E1B447
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130809
muted
#827B7B

Preview Lab

Preview with #9F2B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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