#9F154D#9F154D

#9F154D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.173 H 4.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9F154D
RGBrgb(159, 21, 77)
HSLhsl(336, 77%, 35%)
HSVhsv(336, 87%, 62%)
CMYKcmyk(0%, 86.8%, 51.6%, 37.6%)
CIE-LABlab(34.89, 56.17, 4.64)
CIE-LCHlch(34.89, 56.36, 4.72°)
OKLaboklab(46.13% 0.1722 0.0123)
OKLCHoklch(46.13% 0.173 4.1)
XYZxyz(15.9073, 8.4454, 7.8122)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F154D #159F67
analogous
#9F1592 #9F154D #9F2215
triadic
#9F154D #4D9F15 #154D9F
tetradic
#9F154D #929F15 #159F67 #22159F
square
#9F154D #929F15 #159F67 #22159F
split-complementary
#9F154D #159F22 #15929F
monochromatic
#330719 #690E33 #9F154D #D51C67 #E74888

Accessibility & contrast

On white

7.81
#9F154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9F154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F154D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F154D#FFFFFF#000000##FFFFFF
##9F154D1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#605B4A
Tritanopia (blue-blind)
#AE0030
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f154d;
/* rgb */ color: rgb(159, 21, 77);
/* oklch */ color: oklch(46.1% 0.173 4.1);
Tailwind
colors: {
  custom: {
    50: '#c2667e',
    500: '#9f154d',
    950: '#000000',
  },
}
SCSS
$custom: #9f154d;
$custom-light: #c2667e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f154d",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 335.652,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.17268,
    "h": 4.1
  },
  "luminance": 0.08443
}

Semantic roles & 50–950 ramp

primary
#9F154D
secondary
#48C894
accent
#F3A635
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F154D

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

Preview Lab → · Contrast checker → · Palette generator →

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