#982270#982270

#982270 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.171 H 345.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#982270
RGBrgb(152, 34, 112)
HSLhsl(320, 63%, 36%)
HSVhsv(320, 78%, 60%)
CMYKcmyk(0%, 77.6%, 26.3%, 40.4%)
CIE-LABlab(35.97, 54.62, -16.37)
CIE-LCHlch(35.97, 57.02, 343.32°)
OKLaboklab(47.07% 0.1657 -0.0435)
OKLCHoklch(47.07% 0.171 345.3)
XYZxyz(16.4463, 8.9911, 16.1954)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982270 #22984A
analogous
#852298 #982270 #982235
triadic
#982270 #709822 #227098
tetradic
#982270 #988522 #22984A #223598
square
#982270 #988522 #22984A #223598
split-complementary
#982270 #359822 #229885
monochromatic
#340C26 #66174B #982270 #CA2D95 #DA5AAF

Accessibility & contrast

On white

7.51
#982270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#982270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982270
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982270#FFFFFF#000000##FFFFFF
##9822701.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324872
Deuteranopia (green-blind)
#565C6D
Tritanopia (blue-blind)
#A32046
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982270;
/* rgb */ color: rgb(152, 34, 112);
/* oklch */ color: oklch(47.1% 0.171 345.3);
Tailwind
colors: {
  custom: {
    50: '#ba6a99',
    500: '#982270',
    950: '#000000',
  },
}
SCSS
$custom: #982270;
$custom-light: #ba6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#982270",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 320.339,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47072,
    "c": 0.17128,
    "h": 345.3
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

primary
#982270
secondary
#57BE7A
accent
#E67941
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982270

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

Preview Lab → · Contrast checker → · Palette generator →

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