#982248#982248

#982248 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.6% C 0.155 H 7.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#982248
RGBrgb(152, 34, 72)
HSLhsl(341, 63%, 36%)
HSVhsv(341, 78%, 60%)
CMYKcmyk(0%, 77.6%, 52.6%, 40.4%)
CIE-LABlab(34.58, 50.33, 7.25)
CIE-LCHlch(34.58, 50.85, 8.20°)
OKLaboklab(45.6% 0.1535 0.0188)
OKLCHoklch(45.6% 0.155 7)
XYZxyz(14.6919, 8.2894, 6.9560)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982248 #229872
analogous
#982283 #982248 #983722
triadic
#982248 #489822 #224898
tetradic
#982248 #839822 #229872 #372298
square
#982248 #839822 #229872 #372298
split-complementary
#982248 #229837 #228398
monochromatic
#340C19 #661730 #982248 #CA2D60 #DA5A83

Accessibility & contrast

On white

7.90
#982248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#982248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982248
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982248#FFFFFF#000000##FFFFFF
##9822481.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404249
Deuteranopia (green-blind)
#5F5A45
Tritanopia (blue-blind)
#A60032
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982248;
/* rgb */ color: rgb(152, 34, 72);
/* oklch */ color: oklch(45.6% 0.155 7.0);
Tailwind
colors: {
  custom: {
    50: '#bc697a',
    500: '#982248',
    950: '#000000',
  },
}
SCSS
$custom: #982248;
$custom-light: #bc697a;
$custom-dark: #000000;
JSON
{
  "hex": "#982248",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 340.678,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.15464,
    "h": 7
  },
  "luminance": 0.08287
}

Semantic roles & 50–950 ramp

primary
#982248
secondary
#57BE9D
accent
#E6B141
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130709
muted
#827A7B

Preview Lab

Preview with #982248

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

Preview Lab → · Contrast checker → · Palette generator →

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