#982279#982279

#982279 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.177 H 341.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#982279
RGBrgb(152, 34, 121)
HSLhsl(316, 63%, 36%)
HSVhsv(316, 78%, 60%)
CMYKcmyk(0%, 77.6%, 20.4%, 40.4%)
CIE-LABlab(36.37, 55.83, -21.41)
CIE-LCHlch(36.37, 59.79, 339.02°)
OKLaboklab(47.5% 0.1672 -0.0577)
OKLCHoklch(47.5% 0.177 341)
XYZxyz(16.9727, 9.2017, 18.9677)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982279 #229841
analogous
#7C2298 #982279 #98223E
triadic
#982279 #799822 #227998
tetradic
#982279 #987C22 #229841 #223E98
square
#982279 #987C22 #229841 #223E98
split-complementary
#982279 #3E9822 #22987C
monochromatic
#340C29 #661751 #982279 #CA2DA1 #DA5AB9

Accessibility & contrast

On white

7.39
#982279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#982279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982279
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982279#FFFFFF#000000##FFFFFF
##9822791.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C497B
Deuteranopia (green-blind)
#535C76
Tritanopia (blue-blind)
#A1254B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #982279;
/* rgb */ color: rgb(152, 34, 121);
/* oklch */ color: oklch(47.5% 0.177 341.0);
Tailwind
colors: {
  custom: {
    50: '#ba6aa0',
    500: '#982279',
    950: '#000000',
  },
}
SCSS
$custom: #982279;
$custom-light: #ba6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#982279",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 315.763,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47495,
    "c": 0.1769,
    "h": 341
  },
  "luminance": 0.092
}

Semantic roles & 50–950 ramp

primary
#982279
secondary
#57BE72
accent
#E66D41
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982279

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

Preview Lab → · Contrast checker → · Palette generator →

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