#982273#982273

#982273 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.173 H 343.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#982273
RGBrgb(152, 34, 115)
HSLhsl(319, 63%, 36%)
HSVhsv(319, 78%, 60%)
CMYKcmyk(0%, 77.6%, 24.3%, 40.4%)
CIE-LABlab(36.10, 55.02, -18.06)
CIE-LCHlch(36.10, 57.91, 341.83°)
OKLaboklab(47.21% 0.1662 -0.0483)
OKLCHoklch(47.21% 0.173 343.8)
XYZxyz(16.6161, 9.0590, 17.0898)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982273 #229847
analogous
#822298 #982273 #982238
triadic
#982273 #739822 #227398
tetradic
#982273 #988222 #229847 #223898
square
#982273 #988222 #229847 #223898
split-complementary
#982273 #389822 #229882
monochromatic
#340C27 #66174D #982273 #CA2D99 #DA5AB2

Accessibility & contrast

On white

7.47
#982273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#982273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982273
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982273#FFFFFF#000000##FFFFFF
##9822731.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#555C70
Tritanopia (blue-blind)
#A22148
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982273;
/* rgb */ color: rgb(152, 34, 115);
/* oklch */ color: oklch(47.2% 0.173 343.8);
Tailwind
colors: {
  custom: {
    50: '#ba6a9b',
    500: '#982273',
    950: '#000000',
  },
}
SCSS
$custom: #982273;
$custom-light: #ba6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#982273",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 318.814,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47209,
    "c": 0.17309,
    "h": 343.8
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#982273
secondary
#57BE78
accent
#E67541
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982273

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

Preview Lab → · Contrast checker → · Palette generator →

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