#982845#982845

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

Color values

HEX#982845
RGBrgb(152, 40, 69)
HSLhsl(344, 58%, 38%)
HSVhsv(344, 74%, 60%)
CMYKcmyk(0%, 73.7%, 54.6%, 40.4%)
CIE-LABlab(35.25, 47.98, 10.14)
CIE-LCHlch(35.25, 49.04, 11.93°)
OKLaboklab(46.07% 0.1456 0.0258)
OKLCHoklch(46.07% 0.148 10)
XYZxyz(14.7832, 8.6247, 6.5154)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982845 #28987B
analogous
#98287D #982845 #984328
triadic
#982845 #459828 #284598
tetradic
#982845 #7D9828 #28987B #432898
square
#982845 #7D9828 #28987B #432898
split-complementary
#982845 #289843 #287D98
monochromatic
#370F19 #681B2F #982845 #C8355B #D66482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982845#FFFFFF#000000##FFFFFF
##9828451.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)
#444445
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#A60D34
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982845;
/* rgb */ color: rgb(152, 40, 69);
/* oklch */ color: oklch(46.1% 0.148 10.0);
Tailwind
colors: {
  custom: {
    50: '#bc6b78',
    500: '#982845',
    950: '#000000',
  },
}
SCSS
$custom: #982845;
$custom-light: #bc6b78;
$custom-dark: #000000;
JSON
{
  "hex": "#982845",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 344.464,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.14783,
    "h": 10
  },
  "luminance": 0.08623
}

Semantic roles & 50–950 ramp

primary
#982845
secondary
#60BCA4
accent
#E2B946
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982845

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

Preview Lab → · Contrast checker → · Palette generator →

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