#9F154B#9F154B

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

Color values

HEX#9F154B
RGBrgb(159, 21, 75)
HSLhsl(337, 77%, 35%)
HSVhsv(337, 87%, 62%)
CMYKcmyk(0%, 86.8%, 52.8%, 37.6%)
CIE-LABlab(34.84, 56.01, 5.86)
CIE-LCHlch(34.84, 56.32, 5.98°)
OKLaboklab(46.07% 0.1715 0.0154)
OKLCHoklch(46.07% 0.172 5.1)
XYZxyz(15.8377, 8.4176, 7.4460)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F154B #159F69
analogous
#9F1590 #9F154B #9F2415
triadic
#9F154B #4B9F15 #154B9F
tetradic
#9F154B #909F15 #159F69 #24159F
square
#9F154B #909F15 #159F69 #24159F
split-complementary
#9F154B #159F24 #15909F
monochromatic
#330718 #690E31 #9F154B #D51C64 #E74886

Accessibility & contrast

On white

7.83
#9F154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9F154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F154B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F154B#FFFFFF#000000##FFFFFF
##9F154B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f154b;
/* rgb */ color: rgb(159, 21, 75);
/* oklch */ color: oklch(46.1% 0.172 5.1);
Tailwind
colors: {
  custom: {
    50: '#c2667d',
    500: '#9f154b',
    950: '#000000',
  },
}
SCSS
$custom: #9f154b;
$custom-light: #c2667d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f154b",
  "rgb": {
    "r": 159,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 336.522,
    "s": 76.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46071,
    "c": 0.17219,
    "h": 5.1
  },
  "luminance": 0.08415
}

Semantic roles & 50–950 ramp

primary
#9F154B
secondary
#48C896
accent
#F3A935
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #9F154B

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

Preview Lab → · Contrast checker → · Palette generator →

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