#982562#982562

#982562 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.160 H 352.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#982562
RGBrgb(152, 37, 98)
HSLhsl(328, 61%, 37%)
HSVhsv(328, 76%, 60%)
CMYKcmyk(0%, 75.7%, 35.5%, 40.4%)
CIE-LABlab(35.76, 51.93, -7.80)
CIE-LCHlch(35.76, 52.51, 351.46°)
OKLaboklab(46.74% 0.1592 -0.02)
OKLCHoklch(46.74% 0.16 352.8)
XYZxyz(15.8160, 8.8823, 12.4345)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982562 #25985B
analogous
#952598 #982562 #982528
triadic
#982562 #629825 #256298
tetradic
#982562 #989525 #25985B #252898
square
#982562 #989525 #25985B #252898
split-complementary
#982562 #289825 #259895
monochromatic
#360D23 #671942 #982562 #C93182 #D85F9F

Accessibility & contrast

On white

7.56
#982562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#982562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982562
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982562#FFFFFF#000000##FFFFFF
##9825621.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4764
Deuteranopia (green-blind)
#5A5C5F
Tritanopia (blue-blind)
#A41A40
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #982562;
/* rgb */ color: rgb(152, 37, 98);
/* oklch */ color: oklch(46.7% 0.160 352.8);
Tailwind
colors: {
  custom: {
    50: '#bb6b8e',
    500: '#982562',
    950: '#000000',
  },
}
SCSS
$custom: #982562;
$custom-light: #bb6b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#982562",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 328.174,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46736,
    "c": 0.16043,
    "h": 352.8
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#982562
secondary
#5CBD89
accent
#E48F44
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #982562

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

Preview Lab → · Contrast checker → · Palette generator →

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