#982275#982275

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

Color values

HEX#982275
RGBrgb(152, 34, 117)
HSLhsl(318, 63%, 36%)
HSVhsv(318, 78%, 60%)
CMYKcmyk(0%, 77.6%, 23%, 40.4%)
CIE-LABlab(36.19, 55.28, -19.18)
CIE-LCHlch(36.19, 58.52, 340.87°)
OKLaboklab(47.3% 0.1666 -0.0514)
OKLCHoklch(47.3% 0.174 342.8)
XYZxyz(16.7324, 9.1056, 17.7025)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982275 #229845
analogous
#802298 #982275 #98223A
triadic
#982275 #759822 #227598
tetradic
#982275 #988022 #229845 #223A98
square
#982275 #988022 #229845 #223A98
split-complementary
#982275 #3A9822 #229880
monochromatic
#340C28 #66174F #982275 #CA2D9B #DA5AB4

Accessibility & contrast

On white

7.44
#982275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982275
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982275#FFFFFF#000000##FFFFFF
##9822751.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4977
Deuteranopia (green-blind)
#545C72
Tritanopia (blue-blind)
#A22349
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #982275;
/* rgb */ color: rgb(152, 34, 117);
/* oklch */ color: oklch(47.3% 0.174 342.8);
Tailwind
colors: {
  custom: {
    50: '#ba6a9d',
    500: '#982275',
    950: '#000000',
  },
}
SCSS
$custom: #982275;
$custom-light: #ba6a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#982275",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 317.797,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.17434,
    "h": 342.8
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#982275
secondary
#57BE76
accent
#E67241
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #982275

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

Preview Lab → · Contrast checker → · Palette generator →

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