#981948#981948

#981948 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.163 H 5.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#981948
RGBrgb(152, 25, 72)
HSLhsl(338, 72%, 35%)
HSVhsv(338, 84%, 60%)
CMYKcmyk(0%, 83.6%, 52.6%, 40.4%)
CIE-LABlab(33.65, 52.96, 5.94)
CIE-LCHlch(33.65, 53.29, 6.40°)
OKLaboklab(44.92% 0.162 0.0155)
OKLCHoklch(44.92% 0.163 5.5)
XYZxyz(14.4676, 7.8406, 6.8812)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981948 #199869
analogous
#981988 #981948 #982919
triadic
#981948 #489819 #194898
tetradic
#981948 #889819 #199869 #291998
square
#981948 #889819 #199869 #291998
split-complementary
#981948 #199829 #198898
monochromatic
#2F0816 #63102F #981948 #CD2261 #E14A82

Accessibility & contrast

On white

8.18
#981948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#981948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981948
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981948#FFFFFF#000000##FFFFFF
##9819481.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F49
Deuteranopia (green-blind)
#5D5845
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #981948;
/* rgb */ color: rgb(152, 25, 72);
/* oklch */ color: oklch(44.9% 0.163 5.5);
Tailwind
colors: {
  custom: {
    50: '#bc657a',
    500: '#981948',
    950: '#000000',
  },
}
SCSS
$custom: #981948;
$custom-light: #bc657a;
$custom-dark: #000000;
JSON
{
  "hex": "#981948",
  "rgb": {
    "r": 152,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 337.795,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44918,
    "c": 0.16275,
    "h": 5.5
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#981948
secondary
#4AC396
accent
#EEAB39
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130609
muted
#827A7B

Preview Lab

Preview with #981948

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

Preview Lab → · Contrast checker → · Palette generator →

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