#9F2175#9F2175

#9F2175 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.180 H 345.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9F2175
RGBrgb(159, 33, 117)
HSLhsl(320, 66%, 38%)
HSVhsv(320, 79%, 62%)
CMYKcmyk(0%, 79.2%, 26.4%, 37.6%)
CIE-LABlab(37.38, 57.33, -17.23)
CIE-LCHlch(37.38, 59.86, 343.27°)
OKLaboklab(48.41% 0.174 -0.0458)
OKLCHoklch(48.41% 0.18 345.2)
XYZxyz(18.0536, 9.7450, 17.7564)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2175 #219F4B
analogous
#8A219F #9F2175 #9F2136
triadic
#9F2175 #759F21 #21759F
tetradic
#9F2175 #9F8A21 #219F4B #21369F
square
#9F2175 #9F8A21 #219F4B #21369F
split-complementary
#9F2175 #369F21 #219F8A
monochromatic
#3A0C2A #6C1650 #9F2175 #D22C9A #DD5DB3

Accessibility & contrast

On white

7.12
#9F2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F2175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2175
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2175#FFFFFF#000000##FFFFFF
##9F21751.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324A77
Deuteranopia (green-blind)
#596072
Tritanopia (blue-blind)
#AA1E49
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2175;
/* rgb */ color: rgb(159, 33, 117);
/* oklch */ color: oklch(48.4% 0.180 345.2);
Tailwind
colors: {
  custom: {
    50: '#c06b9d',
    500: '#9f2175',
    950: '#000000',
  },
}
SCSS
$custom: #9f2175;
$custom-light: #c06b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2175",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 320,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48408,
    "c": 0.17992,
    "h": 345.2
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#9F2175
secondary
#5AC27D
accent
#E9783F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2175

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

Preview Lab → · Contrast checker → · Palette generator →

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