#9D3166#9D3166

#9D3166 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.152 H 354.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9D3166
RGBrgb(157, 49, 102)
HSLhsl(331, 52%, 40%)
HSVhsv(331, 69%, 62%)
CMYKcmyk(0%, 68.8%, 35%, 38.4%)
CIE-LABlab(38.42, 49.34, -6.25)
CIE-LCHlch(38.42, 49.74, 352.78°)
OKLaboklab(48.91% 0.1509 -0.0159)
OKLCHoklch(48.91% 0.152 354)
XYZxyz(17.4022, 10.3260, 13.6445)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3166 #319D68
analogous
#9D319C #9D3166 #9D3231
triadic
#9D3166 #669D31 #31669D
tetradic
#9D3166 #9C9D31 #319D68 #32319D
square
#9D3166 #9C9D31 #319D68 #32319D
split-complementary
#9D3166 #319D32 #319C9D
monochromatic
#401429 #6E2248 #9D3166 #C54684 #D475A3

Accessibility & contrast

On white

6.85
#9D3166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D3166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3166
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3166#FFFFFF#000000##FFFFFF
##9D31661.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434E67
Deuteranopia (green-blind)
#616263
Tritanopia (blue-blind)
#A92947
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d3166;
/* rgb */ color: rgb(157, 49, 102);
/* oklch */ color: oklch(48.9% 0.152 354.0);
Tailwind
colors: {
  custom: {
    50: '#be7191',
    500: '#9d3166',
    950: '#000000',
  },
}
SCSS
$custom: #9d3166;
$custom-light: #be7191;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3166",
  "rgb": {
    "r": 157,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 330.556,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4891,
    "c": 0.15172,
    "h": 354
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#9D3166
secondary
#6EBC96
accent
#DC954C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9D3166

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

Preview Lab → · Contrast checker → · Palette generator →

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