#982251#982251

#982251 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.157 H 1.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#982251
RGBrgb(152, 34, 81)
HSLhsl(336, 63%, 36%)
HSVhsv(336, 78%, 60%)
CMYKcmyk(0%, 77.6%, 46.7%, 40.4%)
CIE-LABlab(34.83, 51.13, 1.78)
CIE-LCHlch(34.83, 51.17, 1.99°)
OKLaboklab(45.87% 0.1569 0.0051)
OKLCHoklch(45.87% 0.157 1.9)
XYZxyz(15.0073, 8.4155, 8.6171)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982251 #229869
analogous
#98228C #982251 #982E22
triadic
#982251 #519822 #225198
tetradic
#982251 #8C9822 #229869 #2E2298
square
#982251 #8C9822 #229869 #2E2298
split-complementary
#982251 #22982E #228C98
monochromatic
#340C1C #661736 #982251 #CA2D6C #DA5A8D

Accessibility & contrast

On white

7.83
#982251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#982251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982251
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982251#FFFFFF#000000##FFFFFF
##9822511.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4352
Deuteranopia (green-blind)
#5D5A4E
Tritanopia (blue-blind)
#A50837
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982251;
/* rgb */ color: rgb(152, 34, 81);
/* oklch */ color: oklch(45.9% 0.157 1.9);
Tailwind
colors: {
  custom: {
    50: '#bc6981',
    500: '#982251',
    950: '#000000',
  },
}
SCSS
$custom: #982251;
$custom-light: #bc6981;
$custom-dark: #000000;
JSON
{
  "hex": "#982251",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 336.102,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45873,
    "c": 0.15694,
    "h": 1.9
  },
  "luminance": 0.08414
}

Semantic roles & 50–950 ramp

primary
#982251
secondary
#57BE95
accent
#E6A541
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #982251

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

Preview Lab → · Contrast checker → · Palette generator →

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