#982945#982945

#982945 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.2% C 0.147 H 10.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#982945
RGBrgb(152, 41, 69)
HSLhsl(345, 58%, 38%)
HSVhsv(345, 73%, 60%)
CMYKcmyk(0%, 73%, 54.6%, 40.4%)
CIE-LABlab(35.39, 47.61, 10.32)
CIE-LCHlch(35.39, 48.71, 12.24°)
OKLaboklab(46.17% 0.1444 0.0262)
OKLCHoklch(46.17% 0.147 10.3)
XYZxyz(14.8174, 8.6930, 6.5267)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982945 #29987C
analogous
#98297C #982945 #984429
triadic
#982945 #459829 #294598
tetradic
#982945 #7C9829 #29987C #442998
square
#982945 #7C9829 #29987C #442998
split-complementary
#982945 #299844 #297C98
monochromatic
#380F19 #681C2F #982945 #C8365B #D66682

Accessibility & contrast

On white

7.67
#982945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#982945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982945
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982945#FFFFFF#000000##FFFFFF
##9829451.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454545
Deuteranopia (green-blind)
#625B42
Tritanopia (blue-blind)
#A60F34
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982945;
/* rgb */ color: rgb(152, 41, 69);
/* oklch */ color: oklch(46.2% 0.147 10.3);
Tailwind
colors: {
  custom: {
    50: '#bc6c78',
    500: '#982945',
    950: '#000000',
  },
}
SCSS
$custom: #982945;
$custom-light: #bc6c78;
$custom-dark: #000000;
JSON
{
  "hex": "#982945",
  "rgb": {
    "r": 152,
    "g": 41,
    "b": 69
  },
  "hsl": {
    "h": 344.865,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46174,
    "c": 0.14673,
    "h": 10.3
  },
  "luminance": 0.08691
}

Semantic roles & 50–950 ramp

primary
#982945
secondary
#61BCA5
accent
#E1BA47
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982945

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

Preview Lab → · Contrast checker → · Palette generator →

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