#982274#982274

#982274 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.174 H 343.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#982274
RGBrgb(152, 34, 116)
HSLhsl(318, 63%, 36%)
HSVhsv(318, 78%, 60%)
CMYKcmyk(0%, 77.6%, 23.7%, 40.4%)
CIE-LABlab(36.14, 55.15, -18.62)
CIE-LCHlch(36.14, 58.21, 341.34°)
OKLaboklab(47.26% 0.1664 -0.0498)
OKLCHoklch(47.26% 0.174 343.3)
XYZxyz(16.6739, 9.0822, 17.3945)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982274 #229846
analogous
#812298 #982274 #982239
triadic
#982274 #749822 #227498
tetradic
#982274 #988122 #229846 #223998
square
#982274 #988122 #229846 #223998
split-complementary
#982274 #399822 #229881
monochromatic
#340C28 #66174E #982274 #CA2D9A #DA5AB3

Accessibility & contrast

On white

7.46
#982274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#982274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982274
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982274#FFFFFF#000000##FFFFFF
##9822741.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4976
Deuteranopia (green-blind)
#545C71
Tritanopia (blue-blind)
#A22248
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982274;
/* rgb */ color: rgb(152, 34, 116);
/* oklch */ color: oklch(47.3% 0.174 343.3);
Tailwind
colors: {
  custom: {
    50: '#ba6a9c',
    500: '#982274',
    950: '#000000',
  },
}
SCSS
$custom: #982274;
$custom-light: #ba6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#982274",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 318.305,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47256,
    "c": 0.17371,
    "h": 343.3
  },
  "luminance": 0.0908
}

Semantic roles & 50–950 ramp

primary
#982274
secondary
#57BE77
accent
#E67441
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982274

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

Preview Lab → · Contrast checker → · Palette generator →

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