#981F45#981F45

#981F45 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.3% C 0.157 H 8.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#981F45
RGBrgb(152, 31, 69)
HSLhsl(341, 66%, 36%)
HSVhsv(341, 80%, 60%)
CMYKcmyk(0%, 79.6%, 54.6%, 40.4%)
CIE-LABlab(34.16, 51.03, 8.62)
CIE-LCHlch(34.16, 51.75, 9.59°)
OKLaboklab(45.27% 0.1554 0.0221)
OKLCHoklch(45.27% 0.157 8.1)
XYZxyz(14.5144, 8.0871, 6.4258)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F45 #1F9872
analogous
#981F81 #981F45 #98351F
triadic
#981F45 #45981F #1F4598
tetradic
#981F45 #81981F #1F9872 #351F98
square
#981F45 #81981F #1F9872 #351F98
split-complementary
#981F45 #1F9835 #1F8198
monochromatic
#320A17 #65152E #981F45 #CB295C #DC5580

Accessibility & contrast

On white

8.02
#981F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#981F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981F45
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F45#FFFFFF#000000##FFFFFF
##981F451.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4146
Deuteranopia (green-blind)
#5F5942
Tritanopia (blue-blind)
#A60030
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #981f45;
/* rgb */ color: rgb(152, 31, 69);
/* oklch */ color: oklch(45.3% 0.157 8.1);
Tailwind
colors: {
  custom: {
    50: '#bc6778',
    500: '#981f45',
    950: '#000000',
  },
}
SCSS
$custom: #981f45;
$custom-light: #bc6778;
$custom-dark: #000000;
JSON
{
  "hex": "#981f45",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 341.157,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.15695,
    "h": 8.1
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#981F45
secondary
#53C09E
accent
#E9B43F
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #981F45

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

Preview Lab → · Contrast checker → · Palette generator →

#981F45 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva