#982852#982852

#982852 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.151 H 2.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#982852
RGBrgb(152, 40, 82)
HSLhsl(338, 58%, 38%)
HSVhsv(338, 74%, 60%)
CMYKcmyk(0%, 73.7%, 46.1%, 40.4%)
CIE-LABlab(35.60, 49.15, 2.25)
CIE-LCHlch(35.60, 49.20, 2.62°)
OKLaboklab(46.45% 0.1506 0.0063)
OKLCHoklch(46.45% 0.151 2.4)
XYZxyz(15.2319, 8.8042, 8.8783)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982852 #28986E
analogous
#98288A #982852 #983628
triadic
#982852 #529828 #285298
tetradic
#982852 #8A9828 #28986E #362898
square
#982852 #8A9828 #28986E #362898
split-complementary
#982852 #289836 #288A98
monochromatic
#370F1E #681B38 #982852 #C8356C #D6648F

Accessibility & contrast

On white

7.61
#982852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#982852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982852
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982852#FFFFFF#000000##FFFFFF
##9828521.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982852;
/* rgb */ color: rgb(152, 40, 82);
/* oklch */ color: oklch(46.5% 0.151 2.4);
Tailwind
colors: {
  custom: {
    50: '#bb6c82',
    500: '#982852',
    950: '#000000',
  },
}
SCSS
$custom: #982852;
$custom-light: #bb6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#982852",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 337.5,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46451,
    "c": 0.15069,
    "h": 2.4
  },
  "luminance": 0.08802
}

Semantic roles & 50–950 ramp

primary
#982852
secondary
#60BC99
accent
#E2A746
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982852

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

Preview Lab → · Contrast checker → · Palette generator →

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