#9F476A#9F476A

#9F476A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.2% C 0.123 H 357.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9F476A
RGBrgb(159, 71, 106)
HSLhsl(336, 38%, 45%)
HSVhsv(336, 55%, 62%)
CMYKcmyk(0%, 55.3%, 33.3%, 37.6%)
CIE-LABlab(42.64, 40.37, -2.46)
CIE-LCHlch(42.64, 40.45, 356.52°)
OKLaboklab(52.15% 0.1228 -0.0059)
OKLCHoklch(52.15% 0.123 357.2)
XYZxyz(19.1537, 12.9199, 15.1179)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F476A #479F7C
analogous
#9F4796 #9F476A #9F5047
triadic
#9F476A #6A9F47 #476A9F
tetradic
#9F476A #969F47 #479F7C #50479F
square
#9F476A #969F47 #479F7C #50479F
split-complementary
#9F476A #479F50 #47969F
monochromatic
#4A2132 #75344E #9F476A #BB6889 #CE92AA

Accessibility & contrast

On white

5.86
#9F476A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9F476A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F476A
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F476A#FFFFFF#000000##FFFFFF
##9F476A1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545B6B
Deuteranopia (green-blind)
#6C6B68
Tritanopia (blue-blind)
#AB4154
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f476a;
/* rgb */ color: rgb(159, 71, 106);
/* oklch */ color: oklch(52.2% 0.123 357.2);
Tailwind
colors: {
  custom: {
    50: '#be7e94',
    500: '#9f476a',
    950: '#000000',
  },
}
SCSS
$custom: #9f476a;
$custom-light: #be7e94;
$custom-dark: #000000;
JSON
{
  "hex": "#9f476a",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 106
  },
  "hsl": {
    "h": 336.136,
    "s": 38.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.12289,
    "h": 357.2
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#9F476A
secondary
#88BAA6
accent
#CEA05A
background
#FCF7F9
surface
#F8EEF1
border
#D1C9CB
text
#120A0D
muted
#817C7E

Preview Lab

Preview with #9F476A

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

Preview Lab → · Contrast checker → · Palette generator →

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