#9F3175#9F3175

#9F3175 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.8% C 0.161 H 346.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9F3175
RGBrgb(159, 49, 117)
HSLhsl(323, 53%, 41%)
HSVhsv(323, 69%, 62%)
CMYKcmyk(0%, 69.2%, 26.4%, 37.6%)
CIE-LABlab(39.33, 51.82, -14.24)
CIE-LCHlch(39.33, 53.75, 344.63°)
OKLaboklab(49.83% 0.1569 -0.0377)
OKLCHoklch(49.83% 0.161 346.5)
XYZxyz(18.6080, 10.8538, 17.9412)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3175 #319F5B
analogous
#92319F #9F3175 #9F313E
triadic
#9F3175 #759F31 #31759F
tetradic
#9F3175 #9F9231 #319F5B #313E9F
square
#9F3175 #9F9231 #319F5B #313E9F
split-complementary
#9F3175 #3E9F31 #319F92
monochromatic
#411430 #702353 #9F3175 #C64796 #D576B0

Accessibility & contrast

On white

6.62
#9F3175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F3175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3175
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3175#FFFFFF#000000##FFFFFF
##9F31751.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5177
Deuteranopia (green-blind)
#5F6472
Tritanopia (blue-blind)
#AA2E4E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f3175;
/* rgb */ color: rgb(159, 49, 117);
/* oklch */ color: oklch(49.8% 0.161 346.5);
Tailwind
colors: {
  custom: {
    50: '#bf729c',
    500: '#9f3175',
    950: '#000000',
  },
}
SCSS
$custom: #9f3175;
$custom-light: #bf729c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3175",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 322.909,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4983,
    "c": 0.1614,
    "h": 346.5
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

primary
#9F3175
secondary
#6FBD8D
accent
#DC834C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F3175

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

Preview Lab → · Contrast checker → · Palette generator →

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