#982358#982358

#982358 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.158 H 358.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#982358
RGBrgb(152, 35, 88)
HSLhsl(333, 63%, 37%)
HSVhsv(333, 77%, 60%)
CMYKcmyk(0%, 77%, 42.1%, 40.4%)
CIE-LABlab(35.17, 51.50, -2.25)
CIE-LCHlch(35.17, 51.55, 357.49°)
OKLaboklab(46.19% 0.1582 -0.0053)
OKLCHoklch(46.19% 0.158 358.1)
XYZxyz(15.3125, 8.5840, 10.0812)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982358 #239863
analogous
#982393 #982358 #982923
triadic
#982358 #589823 #235898
tetradic
#982358 #939823 #239863 #292398
square
#982358 #939823 #239863 #292398
split-complementary
#982358 #239829 #239398
monochromatic
#350C1E #66183B #982358 #CA2E75 #D95C95

Accessibility & contrast

On white

7.73
#982358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982358
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982358#FFFFFF#000000##FFFFFF
##9823581.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4559
Deuteranopia (green-blind)
#5C5B55
Tritanopia (blue-blind)
#A5113A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982358;
/* rgb */ color: rgb(152, 35, 88);
/* oklch */ color: oklch(46.2% 0.158 358.1);
Tailwind
colors: {
  custom: {
    50: '#bb6a87',
    500: '#982358',
    950: '#000000',
  },
}
SCSS
$custom: #982358;
$custom-light: #bb6a87;
$custom-dark: #000000;
JSON
{
  "hex": "#982358",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 88
  },
  "hsl": {
    "h": 332.821,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46193,
    "c": 0.15832,
    "h": 358.1
  },
  "luminance": 0.08582
}

Semantic roles & 50–950 ramp

primary
#982358
secondary
#59BE90
accent
#E69C42
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #982358

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

Preview Lab → · Contrast checker → · Palette generator →

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