#983172#983172

#983172 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.154 H 345.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#983172
RGBrgb(152, 49, 114)
HSLhsl(322, 51%, 39%)
HSVhsv(322, 68%, 60%)
CMYKcmyk(0%, 67.8%, 25%, 40.4%)
CIE-LABlab(38.00, 49.42, -14.51)
CIE-LCHlch(38.00, 51.51, 343.63°)
OKLaboklab(48.58% 0.1492 -0.0385)
OKLCHoklch(48.58% 0.154 345.5)
XYZxyz(17.0851, 10.0887, 16.9639)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983172 #319857
analogous
#8B3198 #983172 #98313F
triadic
#983172 #729831 #317298
tetradic
#983172 #988B31 #319857 #313F98
square
#983172 #988B31 #319857 #313F98
split-complementary
#983172 #3F9831 #31988B
monochromatic
#3B132D #6A224F #983172 #C34494 #D272AE

Accessibility & contrast

On white

6.96
#983172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#983172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #983172
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983172#FFFFFF#000000##FFFFFF
##9831721.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#5A6070
Tritanopia (blue-blind)
#A22F4D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #983172;
/* rgb */ color: rgb(152, 49, 114);
/* oklch */ color: oklch(48.6% 0.154 345.5);
Tailwind
colors: {
  custom: {
    50: '#ba719a',
    500: '#983172',
    950: '#000000',
  },
}
SCSS
$custom: #983172;
$custom-light: #ba719a;
$custom-dark: #000000;
JSON
{
  "hex": "#983172",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 322.136,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.15409,
    "h": 345.5
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#983172
secondary
#6BB988
accent
#DB814D
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #983172

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

Preview Lab → · Contrast checker → · Palette generator →

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