#9F4271#9F4271

#9F4271 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 51.7% C 0.134 H 351.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#9F4271
RGBrgb(159, 66, 113)
HSLhsl(330, 41%, 44%)
HSVhsv(330, 58%, 62%)
CMYKcmyk(0%, 58.5%, 28.9%, 37.6%)
CIE-LABlab(41.94, 43.77, -7.82)
CIE-LCHlch(41.94, 44.47, 349.87°)
OKLaboklab(51.71% 0.1327 -0.0202)
OKLCHoklch(51.71% 0.134 351.3)
XYZxyz(19.2277, 12.4615, 17.0123)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4271 #429F70
analogous
#9F429F #9F4271 #9F4243
triadic
#9F4271 #719F42 #42719F
tetradic
#9F4271 #9F9F42 #429F70 #42439F
square
#9F4271 #9F9F42 #429F70 #42439F
split-complementary
#9F4271 #439F42 #429F9F
monochromatic
#491E34 #743052 #9F4271 #BD6190 #CF8CAE

Accessibility & contrast

On white

6.01
#9F4271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#9F4271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4271
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4271#FFFFFF#000000##FFFFFF
##9F42711.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5972
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#AA3E54
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f4271;
/* rgb */ color: rgb(159, 66, 113);
/* oklch */ color: oklch(51.7% 0.134 351.3);
Tailwind
colors: {
  custom: {
    50: '#be7b99',
    500: '#9f4271',
    950: '#000000',
  },
}
SCSS
$custom: #9f4271;
$custom-light: #be7b99;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4271",
  "rgb": {
    "r": 159,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 329.677,
    "s": 41.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.13422,
    "h": 351.3
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#9F4271
secondary
#82BA9E
accent
#D19357
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #9F4271

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

Preview Lab → · Contrast checker → · Palette generator →

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