#982457#982457

#982457 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.157 H 358.8°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#982457
RGBrgb(152, 36, 87)
HSLhsl(334, 62%, 37%)
HSVhsv(334, 76%, 60%)
CMYKcmyk(0%, 76.3%, 42.8%, 40.4%)
CIE-LABlab(35.26, 51.07, -1.48)
CIE-LCHlch(35.26, 51.09, 358.34°)
OKLaboklab(46.25% 0.1568 -0.0033)
OKLCHoklch(46.25% 0.157 358.8)
XYZxyz(15.3012, 8.6272, 9.8744)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982457 #249865
analogous
#982491 #982457 #982B24
triadic
#982457 #579824 #245798
tetradic
#982457 #919824 #249865 #2B2498
square
#982457 #919824 #249865 #2B2498
split-complementary
#982457 #24982B #249198
monochromatic
#350D1E #67183B #982457 #C93073 #D95E94

Accessibility & contrast

On white

7.71
#982457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#982457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982457
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982457#FFFFFF#000000##FFFFFF
##9824571.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4558
Deuteranopia (green-blind)
#5D5B54
Tritanopia (blue-blind)
#A5123A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982457;
/* rgb */ color: rgb(152, 36, 87);
/* oklch */ color: oklch(46.2% 0.157 358.8);
Tailwind
colors: {
  custom: {
    50: '#bb6a86',
    500: '#982457',
    950: '#000000',
  },
}
SCSS
$custom: #982457;
$custom-light: #bb6a86;
$custom-dark: #000000;
JSON
{
  "hex": "#982457",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 87
  },
  "hsl": {
    "h": 333.621,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46245,
    "c": 0.15686,
    "h": 358.8
  },
  "luminance": 0.08625
}

Semantic roles & 50–950 ramp

primary
#982457
secondary
#5ABE92
accent
#E59E43
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982457

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

Preview Lab → · Contrast checker → · Palette generator →

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