#982256#982256

#982256 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.0% C 0.159 H 359.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#982256
RGBrgb(152, 34, 86)
HSLhsl(334, 63%, 36%)
HSVhsv(334, 78%, 60%)
CMYKcmyk(0%, 77.6%, 43.4%, 40.4%)
CIE-LABlab(34.99, 51.62, -1.23)
CIE-LCHlch(34.99, 51.64, 358.64°)
OKLaboklab(46.04% 0.1586 -0.0026)
OKLCHoklch(46.04% 0.159 359.1)
XYZxyz(15.2018, 8.4933, 9.6412)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982256 #229864
analogous
#982291 #982256 #982922
triadic
#982256 #569822 #225698
tetradic
#982256 #919822 #229864 #292298
square
#982256 #919822 #229864 #292298
split-complementary
#982256 #229829 #229198
monochromatic
#340C1D #66173A #982256 #CA2D72 #DA5A93

Accessibility & contrast

On white

7.78
#982256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#982256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982256
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982256#FFFFFF#000000##FFFFFF
##9822561.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4457
Deuteranopia (green-blind)
#5C5A53
Tritanopia (blue-blind)
#A50D39
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982256;
/* rgb */ color: rgb(152, 34, 86);
/* oklch */ color: oklch(46.0% 0.159 359.1);
Tailwind
colors: {
  custom: {
    50: '#bb6985',
    500: '#982256',
    950: '#000000',
  },
}
SCSS
$custom: #982256;
$custom-light: #bb6985;
$custom-dark: #000000;
JSON
{
  "hex": "#982256",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 333.559,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.15862,
    "h": 359.1
  },
  "luminance": 0.08491
}

Semantic roles & 50–950 ramp

primary
#982256
secondary
#57BE91
accent
#E69E41
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982256

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

Preview Lab → · Contrast checker → · Palette generator →

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