#983271#983271

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

Color values

HEX#983271
RGBrgb(152, 50, 113)
HSLhsl(323, 50%, 40%)
HSVhsv(323, 67%, 60%)
CMYKcmyk(0%, 67.1%, 25.7%, 40.4%)
CIE-LABlab(38.11, 48.86, -13.72)
CIE-LCHlch(38.11, 50.75, 344.32°)
OKLaboklab(48.65% 0.1477 -0.0363)
OKLCHoklch(48.65% 0.152 346.2)
XYZxyz(17.0708, 10.1506, 16.6798)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#983271 #329859
analogous
#8C3298 #983271 #98323E
triadic
#983271 #719832 #327198
tetradic
#983271 #988C32 #329859 #323E98
square
#983271 #988C32 #329859 #323E98
split-complementary
#983271 #3E9832 #32988C
monochromatic
#3C142D #6A234F #983271 #C24592 #D173AD

Accessibility & contrast

On white

6.93
#983271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #983271
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##983271#FFFFFF#000000##FFFFFF
##9832711.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#5B606F
Tritanopia (blue-blind)
#A2304D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #983271;
/* rgb */ color: rgb(152, 50, 113);
/* oklch */ color: oklch(48.7% 0.152 346.2);
Tailwind
colors: {
  custom: {
    50: '#ba719a',
    500: '#983271',
    950: '#000000',
  },
}
SCSS
$custom: #983271;
$custom-light: #ba719a;
$custom-dark: #000000;
JSON
{
  "hex": "#983271",
  "rgb": {
    "r": 152,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 322.941,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48651,
    "c": 0.15208,
    "h": 346.2
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#983271
secondary
#6DB98A
accent
#DA834E
background
#FBF7F9
surface
#F7EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #983271

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

Preview Lab → · Contrast checker → · Palette generator →

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