#982F7E#982F7E

#982F7E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.165 H 339.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#982F7E
RGBrgb(152, 47, 126)
HSLhsl(315, 53%, 39%)
HSVhsv(315, 69%, 60%)
CMYKcmyk(0%, 69.1%, 17.1%, 40.4%)
CIE-LABlab(38.23, 51.96, -21.64)
CIE-LCHlch(38.23, 56.28, 337.39°)
OKLaboklab(48.92% 0.1541 -0.0584)
OKLCHoklch(48.92% 0.165 339.2)
XYZxyz(17.7317, 10.2164, 20.7727)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F7E #2F9849
analogous
#7E2F98 #982F7E #982F4A
triadic
#982F7E #7E982F #2F7E98
tetradic
#982F7E #987E2F #2F9849 #2F4A98
square
#982F7E #987E2F #2F9849 #2F4A98
split-complementary
#982F7E #4A982F #2F987E
monochromatic
#3B1231 #692157 #982F7E #C440A3 #D26FBA

Accessibility & contrast

On white

6.90
#982F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#982F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F7E
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F7E#FFFFFF#000000##FFFFFF
##982F7E1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A13352
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982f7e;
/* rgb */ color: rgb(152, 47, 126);
/* oklch */ color: oklch(48.9% 0.165 339.2);
Tailwind
colors: {
  custom: {
    50: '#ba70a3',
    500: '#982f7e',
    950: '#000000',
  },
}
SCSS
$custom: #982f7e;
$custom-light: #ba70a3;
$custom-dark: #000000;
JSON
{
  "hex": "#982f7e",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 314.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48918,
    "c": 0.1648,
    "h": 339.2
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#982F7E
secondary
#69BA7D
accent
#DC6F4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #982F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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