#982D5F#982D5F

#982D5F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.149 H 355.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#982D5F
RGBrgb(152, 45, 95)
HSLhsl(332, 54%, 39%)
HSVhsv(332, 70%, 60%)
CMYKcmyk(0%, 70.4%, 37.5%, 40.4%)
CIE-LABlab(36.71, 48.63, -4.47)
CIE-LCHlch(36.71, 48.83, 354.75°)
OKLaboklab(47.4% 0.1489 -0.0111)
OKLCHoklch(47.4% 0.149 355.7)
XYZxyz(15.9538, 9.3803, 11.7947)
Luminance0.0938 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982D5F #2D9866
analogous
#982D94 #982D5F #98302D
triadic
#982D5F #5F982D #2D5F98
tetradic
#982D5F #94982D #2D9866 #302D98
square
#982D5F #94982D #2D9866 #302D98
split-complementary
#982D5F #2D9830 #2D9498
monochromatic
#3A1124 #691F41 #982D5F #C53D7D #D36C9C

Accessibility & contrast

On white

7.30
#982D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#982D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982D5F
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982D5F#FFFFFF#000000##FFFFFF
##982D5F1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404A60
Deuteranopia (green-blind)
#5E5E5D
Tritanopia (blue-blind)
#A42342
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982d5f;
/* rgb */ color: rgb(152, 45, 95);
/* oklch */ color: oklch(47.4% 0.149 355.7);
Tailwind
colors: {
  custom: {
    50: '#ba6e8c',
    500: '#982d5f',
    950: '#000000',
  },
}
SCSS
$custom: #982d5f;
$custom-light: #ba6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#982d5f",
  "rgb": {
    "r": 152,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 331.963,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.14936,
    "h": 355.7
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#982D5F
secondary
#66BA93
accent
#DE994A
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #982D5F

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

Preview Lab → · Contrast checker → · Palette generator →

#982D5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva