#9F315E#9F315E

#9F315E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.0% C 0.150 H 359.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9F315E
RGBrgb(159, 49, 94)
HSLhsl(335, 53%, 41%)
HSVhsv(335, 69%, 62%)
CMYKcmyk(0%, 69.2%, 40.9%, 37.6%)
CIE-LABlab(38.51, 49.04, -1.02)
CIE-LCHlch(38.51, 49.05, 358.80°)
OKLaboklab(48.96% 0.1502 -0.0021)
OKLCHoklch(48.96% 0.15 359.2)
XYZxyz(17.4180, 10.3778, 11.6734)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F315E #319F72
analogous
#9F3195 #9F315E #9F3B31
triadic
#9F315E #5E9F31 #315E9F
tetradic
#9F315E #959F31 #319F72 #3B319F
square
#9F315E #959F31 #319F72 #3B319F
split-complementary
#9F315E #319F3B #31959F
monochromatic
#411427 #702342 #9F315E #C6477B #D5769D

Accessibility & contrast

On white

6.83
#9F315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F315E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F315E#FFFFFF#000000##FFFFFF
##9F315E1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5F
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#AC2443
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f315e;
/* rgb */ color: rgb(159, 49, 94);
/* oklch */ color: oklch(49.0% 0.150 359.2);
Tailwind
colors: {
  custom: {
    50: '#c0718b',
    500: '#9f315e',
    950: '#000000',
  },
}
SCSS
$custom: #9f315e;
$custom-light: #c0718b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f315e",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 335.455,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.1502,
    "h": 359.2
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#9F315E
secondary
#6FBD9D
accent
#DCA14C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F315E

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

Preview Lab → · Contrast checker → · Palette generator →

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