#9F4875#9F4875

#9F4875 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 52.7% C 0.127 H 350.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9F4875
RGBrgb(159, 72, 117)
HSLhsl(329, 38%, 45%)
HSVhsv(329, 55%, 62%)
CMYKcmyk(0%, 54.7%, 26.4%, 37.6%)
CIE-LABlab(43.20, 41.36, -8.40)
CIE-LCHlch(43.20, 42.21, 348.52°)
OKLaboklab(52.69% 0.1249 -0.0218)
OKLCHoklch(52.69% 0.127 350.1)
XYZxyz(19.8270, 13.2918, 18.3475)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4875 #489F72
analogous
#9D489F #9F4875 #9F4849
triadic
#9F4875 #759F48 #48759F
tetradic
#9F4875 #9F9D48 #489F72 #48499F
square
#9F4875 #9F9D48 #489F72 #48499F
split-complementary
#9F4875 #499F48 #489F9D
monochromatic
#4B2237 #753556 #9F4875 #BB6994 #CE93B2

Accessibility & contrast

On white

5.74
#9F4875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9F4875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4875
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4875#FFFFFF#000000##FFFFFF
##9F48751.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D76
Deuteranopia (green-blind)
#696C73
Tritanopia (blue-blind)
#A94559
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f4875;
/* rgb */ color: rgb(159, 72, 117);
/* oklch */ color: oklch(52.7% 0.127 350.1);
Tailwind
colors: {
  custom: {
    50: '#be7e9c',
    500: '#9f4875',
    950: '#000000',
  },
}
SCSS
$custom: #9f4875;
$custom-light: #be7e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4875",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 328.966,
    "s": 37.662,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.12675,
    "h": 350.1
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#9F4875
secondary
#89BAA1
accent
#CE925A
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #9F4875

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

Preview Lab → · Contrast checker → · Palette generator →

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