#9D3161#9D3161

#9D3161 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.150 H 356.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9D3161
RGBrgb(157, 49, 97)
HSLhsl(333, 52%, 40%)
HSVhsv(333, 69%, 62%)
CMYKcmyk(0%, 68.8%, 38.2%, 38.4%)
CIE-LABlab(38.25, 48.76, -3.35)
CIE-LCHlch(38.25, 48.87, 356.07°)
OKLaboklab(48.73% 0.1493 -0.0082)
OKLCHoklch(48.73% 0.15 356.9)
XYZxyz(17.1617, 10.2298, 12.3777)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3161 #319D6D
analogous
#9D3197 #9D3161 #9D3731
triadic
#9D3161 #619D31 #31619D
tetradic
#9D3161 #979D31 #319D6D #37319D
square
#9D3161 #979D31 #319D6D #37319D
split-complementary
#9D3161 #319D37 #31979D
monochromatic
#401427 #6E2244 #9D3161 #C5467F #D4759F

Accessibility & contrast

On white

6.90
#9D3161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9D3161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3161
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3161#FFFFFF#000000##FFFFFF
##9D31611.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D62
Deuteranopia (green-blind)
#62615E
Tritanopia (blue-blind)
#AA2645
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d3161;
/* rgb */ color: rgb(157, 49, 97);
/* oklch */ color: oklch(48.7% 0.150 356.9);
Tailwind
colors: {
  custom: {
    50: '#be718d',
    500: '#9d3161',
    950: '#000000',
  },
}
SCSS
$custom: #9d3161;
$custom-light: #be718d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3161",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 333.333,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.14951,
    "h": 356.9
  },
  "luminance": 0.10228
}

Semantic roles & 50–950 ramp

primary
#9D3161
secondary
#6EBC99
accent
#DC9C4C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9D3161

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

Preview Lab → · Contrast checker → · Palette generator →

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