#982548#982548

#982548 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.9% C 0.152 H 7.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#982548
RGBrgb(152, 37, 72)
HSLhsl(342, 61%, 37%)
HSVhsv(342, 76%, 60%)
CMYKcmyk(0%, 75.7%, 52.6%, 40.4%)
CIE-LABlab(34.94, 49.31, 7.76)
CIE-LCHlch(34.94, 49.92, 8.94°)
OKLaboklab(45.87% 0.1502 0.02)
OKLCHoklch(45.87% 0.152 7.6)
XYZxyz(14.7815, 8.4685, 6.9859)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982548 #259875
analogous
#982582 #982548 #983B25
triadic
#982548 #489825 #254898
tetradic
#982548 #829825 #259875 #3B2598
square
#982548 #829825 #259875 #3B2598
split-complementary
#982548 #25983B #258298
monochromatic
#360D19 #671931 #982548 #C9315F #D85F84

Accessibility & contrast

On white

7.80
#982548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#982548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982548
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982548#FFFFFF#000000##FFFFFF
##9825481.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424349
Deuteranopia (green-blind)
#605B45
Tritanopia (blue-blind)
#A60734
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982548;
/* rgb */ color: rgb(152, 37, 72);
/* oklch */ color: oklch(45.9% 0.152 7.6);
Tailwind
colors: {
  custom: {
    50: '#bc6a7a',
    500: '#982548',
    950: '#000000',
  },
}
SCSS
$custom: #982548;
$custom-light: #bc6a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#982548",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 72
  },
  "hsl": {
    "h": 341.739,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45869,
    "c": 0.15156,
    "h": 7.6
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#982548
secondary
#5CBDA0
accent
#E4B344
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #982548

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

Preview Lab → · Contrast checker → · Palette generator →

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