#9D1F65#9D1F65

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

Color values

HEX#9D1F65
RGBrgb(157, 31, 101)
HSLhsl(327, 67%, 37%)
HSVhsv(327, 80%, 62%)
CMYKcmyk(0%, 80.3%, 35.7%, 38.4%)
CIE-LABlab(36.16, 55.48, -9.02)
CIE-LCHlch(36.16, 56.21, 350.77°)
OKLaboklab(47.24% 0.1703 -0.0232)
OKLCHoklch(47.24% 0.172 352.2)
XYZxyz(16.7446, 9.0897, 13.1821)
Luminance0.0909 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1F65 #1F9D57
analogous
#961F9D #9D1F65 #9D1F26
triadic
#9D1F65 #659D1F #1F659D
tetradic
#9D1F65 #9D961F #1F9D57 #1F269D
square
#9D1F65 #9D961F #1F9D57 #1F269D
split-complementary
#9D1F65 #269D1F #1F9D96
monochromatic
#370B23 #6A1544 #9D1F65 #D02986 #DE58A3

Accessibility & contrast

On white

7.45
#9D1F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9D1F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1F65
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1F65#FFFFFF#000000##FFFFFF
##9D1F651.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384767
Deuteranopia (green-blind)
#5C5D62
Tritanopia (blue-blind)
#A91140
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d1f65;
/* rgb */ color: rgb(157, 31, 101);
/* oklch */ color: oklch(47.2% 0.172 352.2);
Tailwind
colors: {
  custom: {
    50: '#bf6990',
    500: '#9d1f65',
    950: '#000000',
  },
}
SCSS
$custom: #9d1f65;
$custom-light: #bf6990;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1f65",
  "rgb": {
    "r": 157,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 326.667,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.17192,
    "h": 352.2
  },
  "luminance": 0.09088
}

Semantic roles & 50–950 ramp

primary
#9D1F65
secondary
#56C286
accent
#EA8A3E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D1F65

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

Preview Lab → · Contrast checker → · Palette generator →

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