#9F307E#9F307E

#9F307E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.168 H 341.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9F307E
RGBrgb(159, 48, 126)
HSLhsl(318, 54%, 41%)
HSVhsv(318, 70%, 62%)
CMYKcmyk(0%, 69.8%, 20.8%, 37.6%)
CIE-LABlab(39.57, 53.45, -19.47)
CIE-LCHlch(39.57, 56.89, 339.99°)
OKLaboklab(50.13% 0.1601 -0.0522)
OKLCHoklch(50.13% 0.168 341.9)
XYZxyz(19.1215, 10.9931, 20.8495)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F307E #309F51
analogous
#88309F #9F307E #9F3046
triadic
#9F307E #7E9F30 #307E9F
tetradic
#9F307E #9F8830 #309F51 #30469F
square
#9F307E #9F8830 #309F51 #30469F
split-complementary
#9F307E #469F30 #309F88
monochromatic
#411433 #702259 #9F307E #C745A0 #D574B8

Accessibility & contrast

On white

6.57
#9F307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F307E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F307E#FFFFFF#000000##FFFFFF
##9F307E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#5B647B
Tritanopia (blue-blind)
#A93153
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f307e;
/* rgb */ color: rgb(159, 48, 126);
/* oklch */ color: oklch(50.1% 0.168 341.9);
Tailwind
colors: {
  custom: {
    50: '#bf72a3',
    500: '#9f307e',
    950: '#000000',
  },
}
SCSS
$custom: #9f307e;
$custom-light: #bf72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f307e",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 317.838,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50125,
    "c": 0.16837,
    "h": 341.9
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#9F307E
secondary
#6EBD85
accent
#DD764B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F307E

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

Preview Lab → · Contrast checker → · Palette generator →

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