#9F3151#9F3151

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

Color values

HEX#9F3151
RGBrgb(159, 49, 81)
HSLhsl(343, 53%, 41%)
HSVhsv(343, 69%, 62%)
CMYKcmyk(0%, 69.2%, 49.1%, 37.6%)
CIE-LABlab(38.13, 47.73, 6.68)
CIE-LCHlch(38.13, 48.19, 7.97°)
OKLaboklab(48.55% 0.1454 0.0175)
OKLCHoklch(48.55% 0.146 6.8)
XYZxyz(16.8830, 10.1638, 8.8558)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3151 #319F7F
analogous
#9F3188 #9F3151 #9F4831
triadic
#9F3151 #519F31 #31519F
tetradic
#9F3151 #889F31 #319F7F #48319F
square
#9F3151 #889F31 #319F7F #48319F
split-complementary
#9F3151 #319F48 #31889F
monochromatic
#411421 #702339 #9F3151 #C6476C #D57691

Accessibility & contrast

On white

6.93
#9F3151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F3151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3151
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3151#FFFFFF#000000##FFFFFF
##9F31511.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f3151;
/* rgb */ color: rgb(159, 49, 81);
/* oklch */ color: oklch(48.6% 0.146 6.8);
Tailwind
colors: {
  custom: {
    50: '#c07181',
    500: '#9f3151',
    950: '#000000',
  },
}
SCSS
$custom: #9f3151;
$custom-light: #c07181;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3151",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 342.545,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.14648,
    "h": 6.8
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#9F3151
secondary
#6FBDA6
accent
#DCB24C
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9F3151

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

Preview Lab → · Contrast checker → · Palette generator →

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