#982952#982952

#982952 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.5% C 0.150 H 2.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#982952
RGBrgb(152, 41, 82)
HSLhsl(338, 58%, 38%)
HSVhsv(338, 73%, 60%)
CMYKcmyk(0%, 73%, 46.1%, 40.4%)
CIE-LABlab(35.74, 48.78, 2.44)
CIE-LCHlch(35.74, 48.84, 2.86°)
OKLaboklab(46.55% 0.1494 0.0068)
OKLCHoklch(46.55% 0.15 2.6)
XYZxyz(15.2660, 8.8724, 8.8897)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982952 #29986F
analogous
#982989 #982952 #983829
triadic
#982952 #529829 #295298
tetradic
#982952 #899829 #29986F #382998
square
#982952 #899829 #29986F #382998
split-complementary
#982952 #299838 #298998
monochromatic
#380F1E #681C38 #982952 #C8366C #D6668F

Accessibility & contrast

On white

7.57
#982952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#982952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982952
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982952#FFFFFF#000000##FFFFFF
##9829521.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#A5173A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #982952;
/* rgb */ color: rgb(152, 41, 82);
/* oklch */ color: oklch(46.5% 0.150 2.6);
Tailwind
colors: {
  custom: {
    50: '#bb6c82',
    500: '#982952',
    950: '#000000',
  },
}
SCSS
$custom: #982952;
$custom-light: #bb6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#982952",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 82
  },
  "hsl": {
    "h": 337.838,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46549,
    "c": 0.14954,
    "h": 2.6
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#982952
secondary
#61BC9A
accent
#E1A847
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982952

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

Preview Lab → · Contrast checker → · Palette generator →

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