#9F154C#9F154C

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

Color values

HEX#9F154C
RGBrgb(159, 21, 76)
HSLhsl(336, 77%, 35%)
HSVhsv(336, 87%, 62%)
CMYKcmyk(0%, 86.8%, 52.2%, 37.6%)
CIE-LABlab(34.87, 56.09, 5.25)
CIE-LCHlch(34.87, 56.34, 5.35°)
OKLaboklab(46.1% 0.1719 0.0139)
OKLCHoklch(46.1% 0.172 4.6)
XYZxyz(15.8722, 8.4314, 7.6277)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F154C #159F68
analogous
#9F1591 #9F154C #9F2315
triadic
#9F154C #4C9F15 #154C9F
tetradic
#9F154C #919F15 #159F68 #23159F
square
#9F154C #919F15 #159F68 #23159F
split-complementary
#9F154C #159F23 #15919F
monochromatic
#330718 #690E32 #9F154C #D51C66 #E74887

Accessibility & contrast

On white

7.82
#9F154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F154C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F154C#FFFFFF#000000##FFFFFF
##9F154C1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414D
Deuteranopia (green-blind)
#605B49
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9f154c;
/* rgb */ color: rgb(159, 21, 76);
/* oklch */ color: oklch(46.1% 0.172 4.6);
Tailwind
colors: {
  custom: {
    50: '#c2667d',
    500: '#9f154c',
    950: '#000000',
  },
}
SCSS
$custom: #9f154c;
$custom-light: #c2667d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f154c",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 336.087,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.461,
    "c": 0.17243,
    "h": 4.6
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#9F154C
secondary
#48C895
accent
#F3A735
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F154C

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

Preview Lab → · Contrast checker → · Palette generator →

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