#9F3152#9F3152

#9F3152 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.6% C 0.147 H 6.3°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9F3152
RGBrgb(159, 49, 82)
HSLhsl(342, 53%, 41%)
HSVhsv(342, 69%, 62%)
CMYKcmyk(0%, 69.2%, 48.4%, 37.6%)
CIE-LABlab(38.16, 47.82, 6.08)
CIE-LCHlch(38.16, 48.20, 7.25°)
OKLaboklab(48.58% 0.1458 0.016)
OKLCHoklch(48.58% 0.147 6.3)
XYZxyz(16.9207, 10.1789, 9.0547)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3152 #319F7E
analogous
#9F3189 #9F3152 #9F4731
triadic
#9F3152 #529F31 #31529F
tetradic
#9F3152 #899F31 #319F7E #47319F
square
#9F3152 #899F31 #319F7E #47319F
split-complementary
#9F3152 #319F47 #31899F
monochromatic
#411422 #70233A #9F3152 #C6476D #D57692

Accessibility & contrast

On white

6.92
#9F3152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F3152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3152
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3152#FFFFFF#000000##FFFFFF
##9F31521.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C53
Deuteranopia (green-blind)
#67624F
Tritanopia (blue-blind)
#AD1F3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f3152;
/* rgb */ color: rgb(159, 49, 82);
/* oklch */ color: oklch(48.6% 0.147 6.3);
Tailwind
colors: {
  custom: {
    50: '#c07182',
    500: '#9f3152',
    950: '#000000',
  },
}
SCSS
$custom: #9f3152;
$custom-light: #c07182;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3152",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 342,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.14668,
    "h": 6.3
  },
  "luminance": 0.10177
}

Semantic roles & 50–950 ramp

primary
#9F3152
secondary
#6FBDA5
accent
#DCB14C
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F3152

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

Preview Lab → · Contrast checker → · Palette generator →

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