#973178#973178

#973178 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.157 H 342.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#973178
RGBrgb(151, 49, 120)
HSLhsl(318, 51%, 39%)
HSVhsv(318, 68%, 59%)
CMYKcmyk(0%, 67.5%, 20.5%, 40.8%)
CIE-LABlab(38.08, 49.99, -18.15)
CIE-LCHlch(38.08, 53.18, 340.04°)
OKLaboklab(48.69% 0.1495 -0.0486)
OKLCHoklch(48.69% 0.157 342)
XYZxyz(17.2515, 10.1336, 18.8131)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#973178 #319750
analogous
#833197 #973178 #973145
triadic
#973178 #789731 #317897
tetradic
#973178 #978331 #319750 #314597
square
#973178 #978331 #319750 #314597
split-complementary
#973178 #459731 #319783
monochromatic
#3B132F #692253 #973178 #C2439B #D171B4

Accessibility & contrast

On white

6.94
#973178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#973178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #973178
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##973178#FFFFFF#000000##FFFFFF
##9731781.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#A03250
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #973178;
/* rgb */ color: rgb(151, 49, 120);
/* oklch */ color: oklch(48.7% 0.157 342.0);
Tailwind
colors: {
  custom: {
    50: '#b9719f',
    500: '#973178',
    950: '#000000',
  },
}
SCSS
$custom: #973178;
$custom-light: #b9719f;
$custom-dark: #000000;
JSON
{
  "hex": "#973178",
  "rgb": {
    "r": 151,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 318.235,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48691,
    "c": 0.15723,
    "h": 342
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#973178
secondary
#6BB983
accent
#DA784D
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #973178

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

Preview Lab → · Contrast checker → · Palette generator →

#973178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva