#9F1875#9F1875

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

Color values

HEX#9F1875
RGBrgb(159, 24, 117)
HSLhsl(319, 74%, 36%)
HSVhsv(319, 85%, 62%)
CMYKcmyk(0%, 84.9%, 26.4%, 37.6%)
CIE-LABlab(36.58, 59.64, -18.47)
CIE-LCHlch(36.58, 62.44, 342.79°)
OKLaboklab(47.83% 0.1812 -0.0493)
OKLCHoklch(47.83% 0.188 344.8)
XYZxyz(17.8364, 9.3106, 17.6840)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1875 #189F42
analogous
#85189F #9F1875 #9F1831
triadic
#9F1875 #759F18 #18759F
tetradic
#9F1875 #9F8518 #189F42 #18319F
square
#9F1875 #9F8518 #189F42 #18319F
split-complementary
#9F1875 #319F18 #189F85
monochromatic
#350827 #6A104E #9F1875 #D4209C #E44DB5

Accessibility & contrast

On white

7.34
#9F1875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F1875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1875
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1875#FFFFFF#000000##FFFFFF
##9F18751.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4877
Deuteranopia (green-blind)
#575E72
Tritanopia (blue-blind)
#AA1546
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1875;
/* rgb */ color: rgb(159, 24, 117);
/* oklch */ color: oklch(47.8% 0.188 344.8);
Tailwind
colors: {
  custom: {
    50: '#c0689d',
    500: '#9f1875',
    950: '#000000',
  },
}
SCSS
$custom: #9f1875;
$custom-light: #c0689d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1875",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 318.667,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.18775,
    "h": 344.8
  },
  "luminance": 0.09309
}

Semantic roles & 50–950 ramp

primary
#9F1875
secondary
#4DC672
accent
#F07137
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1875

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

Preview Lab → · Contrast checker → · Palette generator →

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