#982A5F#982A5F

#982A5F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.1% C 0.153 H 355.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#982A5F
RGBrgb(152, 42, 95)
HSLhsl(331, 57%, 38%)
HSVhsv(331, 72%, 60%)
CMYKcmyk(0%, 72.4%, 37.5%, 40.4%)
CIE-LABlab(36.29, 49.79, -5.09)
CIE-LCHlch(36.29, 50.05, 354.17°)
OKLaboklab(47.09% 0.1526 -0.0128)
OKLCHoklch(47.09% 0.153 355.2)
XYZxyz(15.8434, 9.1594, 11.7579)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A5F #2A9863
analogous
#982A96 #982A5F #982C2A
triadic
#982A5F #5F982A #2A5F98
tetradic
#982A5F #96982A #2A9863 #2C2A98
square
#982A5F #96982A #2A9863 #2C2A98
split-complementary
#982A5F #2A982C #2A9698
monochromatic
#381023 #681D41 #982A5F #C8377D #D5679C

Accessibility & contrast

On white

7.42
#982A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#982A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982A5F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A5F#FFFFFF#000000##FFFFFF
##982A5F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#5D5D5C
Tritanopia (blue-blind)
#A41F41
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982a5f;
/* rgb */ color: rgb(152, 42, 95);
/* oklch */ color: oklch(47.1% 0.153 355.2);
Tailwind
colors: {
  custom: {
    50: '#bb6d8c',
    500: '#982a5f',
    950: '#000000',
  },
}
SCSS
$custom: #982a5f;
$custom-light: #bb6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#982a5f",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 95
  },
  "hsl": {
    "h": 331.091,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.15314,
    "h": 355.2
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#982A5F
secondary
#62BB91
accent
#E09748
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #982A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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