#9F415F#9F415F

#9F415F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.0% C 0.128 H 2.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9F415F
RGBrgb(159, 65, 95)
HSLhsl(341, 42%, 44%)
HSVhsv(341, 59%, 62%)
CMYKcmyk(0%, 59.1%, 40.3%, 37.6%)
CIE-LABlab(41.18, 42.00, 2.24)
CIE-LCHlch(41.18, 42.06, 3.05°)
OKLaboklab(50.95% 0.128 0.0063)
OKLCHoklch(50.95% 0.128 2.8)
XYZxyz(18.2550, 11.9797, 12.1752)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F415F #419F81
analogous
#9F418E #9F415F #9F5241
triadic
#9F415F #5F9F41 #415F9F
tetradic
#9F415F #8E9F41 #419F81 #52419F
square
#9F415F #8E9F41 #419F81 #52419F
split-complementary
#9F415F #419F52 #418E9F
monochromatic
#481D2B #742F45 #9F415F #BE5F7E #D08BA1

Accessibility & contrast

On white

6.18
#9F415F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9F415F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F415F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F415F#FFFFFF#000000##FFFFFF
##9F415F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525660
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#AC384C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f415f;
/* rgb */ color: rgb(159, 65, 95);
/* oklch */ color: oklch(51.0% 0.128 2.8);
Tailwind
colors: {
  custom: {
    50: '#bf7a8c',
    500: '#9f415f',
    950: '#000000',
  },
}
SCSS
$custom: #9f415f;
$custom-light: #bf7a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f415f",
  "rgb": {
    "r": 159,
    "g": 65,
    "b": 95
  },
  "hsl": {
    "h": 340.851,
    "s": 41.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50953,
    "c": 0.12818,
    "h": 2.8
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#9F415F
secondary
#81BAA8
accent
#D2AA56
background
#FCF7F8
surface
#F8EEF0
border
#D1C9CB
text
#13090C
muted
#827B7D

Preview Lab

Preview with #9F415F

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

Preview Lab → · Contrast checker → · Palette generator →

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