#9F1E72#9F1E72

#9F1E72 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.181 H 346.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9F1E72
RGBrgb(159, 30, 114)
HSLhsl(321, 68%, 37%)
HSVhsv(321, 81%, 62%)
CMYKcmyk(0%, 81.1%, 28.3%, 37.6%)
CIE-LABlab(36.96, 57.79, -15.99)
CIE-LCHlch(36.96, 59.96, 344.53°)
OKLaboklab(48.06% 0.176 -0.0424)
OKLCHoklch(48.06% 0.181 346.5)
XYZxyz(17.8005, 9.5164, 16.8158)
Luminance0.0951 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1E72 #1E9F4B
analogous
#8C1E9F #9F1E72 #9F1E32
triadic
#9F1E72 #729F1E #1E729F
tetradic
#9F1E72 #9F8C1E #1E9F4B #1E329F
square
#9F1E72 #9F8C1E #1E9F4B #1E329F
split-complementary
#9F1E72 #329F1E #1E9F8C
monochromatic
#380B28 #6C144D #9F1E72 #D22897 #DF58B0

Accessibility & contrast

On white

7.23
#9F1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F1E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1E72
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1E72#FFFFFF#000000##FFFFFF
##9F1E721.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#595F6F
Tritanopia (blue-blind)
#AA1946
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1e72;
/* rgb */ color: rgb(159, 30, 114);
/* oklch */ color: oklch(48.1% 0.181 346.5);
Tailwind
colors: {
  custom: {
    50: '#c06a9a',
    500: '#9f1e72',
    950: '#000000',
  },
}
SCSS
$custom: #9f1e72;
$custom-light: #c06a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1e72",
  "rgb": {
    "r": 159,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 320.93,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48061,
    "c": 0.18103,
    "h": 346.5
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#9F1E72
secondary
#56C37C
accent
#EB7A3D
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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