#982451#982451

#982451 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.155 H 2.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#982451
RGBrgb(152, 36, 81)
HSLhsl(337, 62%, 37%)
HSVhsv(337, 76%, 60%)
CMYKcmyk(0%, 76.3%, 46.7%, 40.4%)
CIE-LABlab(35.07, 50.47, 2.12)
CIE-LCHlch(35.07, 50.52, 2.40°)
OKLaboklab(46.05% 0.1547 0.006)
OKLCHoklch(46.05% 0.155 2.2)
XYZxyz(15.0662, 8.5332, 8.6367)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982451 #24986B
analogous
#98248B #982451 #983124
triadic
#982451 #519824 #245198
tetradic
#982451 #8B9824 #24986B #312498
square
#982451 #8B9824 #24986B #312498
split-complementary
#982451 #249831 #248B98
monochromatic
#350D1C #671837 #982451 #C9306B #D95E8D

Accessibility & contrast

On white

7.76
#982451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#982451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982451
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982451#FFFFFF#000000##FFFFFF
##9824511.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4452
Deuteranopia (green-blind)
#5E5B4E
Tritanopia (blue-blind)
#A50D37
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982451;
/* rgb */ color: rgb(152, 36, 81);
/* oklch */ color: oklch(46.0% 0.155 2.2);
Tailwind
colors: {
  custom: {
    50: '#bc6a81',
    500: '#982451',
    950: '#000000',
  },
}
SCSS
$custom: #982451;
$custom-light: #bc6a81;
$custom-dark: #000000;
JSON
{
  "hex": "#982451",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 81
  },
  "hsl": {
    "h": 336.724,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46047,
    "c": 0.15485,
    "h": 2.2
  },
  "luminance": 0.08531
}

Semantic roles & 50–950 ramp

primary
#982451
secondary
#5ABE97
accent
#E5A643
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982451

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

Preview Lab → · Contrast checker → · Palette generator →

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