#9C1F75#9C1F75

#9C1F75 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.180 H 344.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9C1F75
RGBrgb(156, 31, 117)
HSLhsl(319, 67%, 37%)
HSVhsv(319, 80%, 61%)
CMYKcmyk(0%, 80.1%, 25%, 38.8%)
CIE-LABlab(36.62, 57.16, -18.45)
CIE-LCHlch(36.62, 60.06, 342.11°)
OKLaboklab(47.75% 0.173 -0.0493)
OKLCHoklch(47.75% 0.18 344.1)
XYZxyz(17.4119, 9.3342, 17.7109)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F75 #1F9C46
analogous
#851F9C #9C1F75 #9C1F37
triadic
#9C1F75 #759C1F #1F759C
tetradic
#9C1F75 #9C851F #1F9C46 #1F379C
square
#9C1F75 #9C851F #1F9C46 #1F379C
split-complementary
#9C1F75 #379C1F #1F9C85
monochromatic
#360B28 #69154F #9C1F75 #CF299B #DE58B4

Accessibility & contrast

On white

7.33
#9C1F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9C1F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F75
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F75#FFFFFF#000000##FFFFFF
##9C1F751.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4977
Deuteranopia (green-blind)
#565E72
Tritanopia (blue-blind)
#A71E48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c1f75;
/* rgb */ color: rgb(156, 31, 117);
/* oklch */ color: oklch(47.8% 0.180 344.1);
Tailwind
colors: {
  custom: {
    50: '#bd6a9d',
    500: '#9c1f75',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f75;
$custom-light: #bd6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f75",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 318.72,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47754,
    "c": 0.17991,
    "h": 344.1
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#9C1F75
secondary
#55C177
accent
#EA743E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C1F75

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

Preview Lab → · Contrast checker → · Palette generator →

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