#9D1F64#9D1F64

#9D1F64 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.171 H 352.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9D1F64
RGBrgb(157, 31, 100)
HSLhsl(327, 67%, 37%)
HSVhsv(327, 80%, 62%)
CMYKcmyk(0%, 80.3%, 36.3%, 38.4%)
CIE-LABlab(36.12, 55.37, -8.43)
CIE-LCHlch(36.12, 56.01, 351.34°)
OKLaboklab(47.2% 0.1701 -0.0217)
OKLCHoklch(47.2% 0.171 352.7)
XYZxyz(16.6959, 9.0702, 12.9256)
Luminance0.0907 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F64 #1F9D58
analogous
#971F9D #9D1F64 #9D1F25
triadic
#9D1F64 #649D1F #1F649D
tetradic
#9D1F64 #9D971F #1F9D58 #1F259D
square
#9D1F64 #9D971F #1F9D58 #1F259D
split-complementary
#9D1F64 #259D1F #1F9D97
monochromatic
#370B23 #6A1543 #9D1F64 #D02985 #DE58A2

Accessibility & contrast

On white

7.46
#9D1F64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#9D1F64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F64
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F64#FFFFFF#000000##FFFFFF
##9D1F641.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384666
Deuteranopia (green-blind)
#5C5D61
Tritanopia (blue-blind)
#AA103F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d1f64;
/* rgb */ color: rgb(157, 31, 100);
/* oklch */ color: oklch(47.2% 0.171 352.7);
Tailwind
colors: {
  custom: {
    50: '#bf6990',
    500: '#9d1f64',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f64;
$custom-light: #bf6990;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f64",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 100
  },
  "hsl": {
    "h": 327.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47199,
    "c": 0.17145,
    "h": 352.7
  },
  "luminance": 0.09068
}

Semantic roles & 50–950 ramp

primary
#9D1F64
secondary
#56C287
accent
#EA8C3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D1F64

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

Preview Lab → · Contrast checker → · Palette generator →

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