#98227C#98227C

#98227C is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.179 H 339.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#98227C
RGBrgb(152, 34, 124)
HSLhsl(314, 63%, 36%)
HSVhsv(314, 78%, 60%)
CMYKcmyk(0%, 77.6%, 18.4%, 40.4%)
CIE-LABlab(36.51, 56.25, -23.06)
CIE-LCHlch(36.51, 60.79, 337.71°)
OKLaboklab(47.64% 0.1676 -0.0624)
OKLCHoklch(47.64% 0.179 339.6)
XYZxyz(17.1595, 9.2764, 19.9517)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98227C #22983E
analogous
#792298 #98227C #982241
triadic
#98227C #7C9822 #227C98
tetradic
#98227C #987922 #22983E #224198
square
#98227C #987922 #22983E #224198
split-complementary
#98227C #419822 #229879
monochromatic
#340C2A #661753 #98227C #CA2DA5 #DA5ABC

Accessibility & contrast

On white

7.36
#98227C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#98227C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98227C
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98227C#FFFFFF#000000##FFFFFF
##98227C1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#515D79
Tritanopia (blue-blind)
#A1274D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98227c;
/* rgb */ color: rgb(152, 34, 124);
/* oklch */ color: oklch(47.6% 0.179 339.6);
Tailwind
colors: {
  custom: {
    50: '#ba6ba2',
    500: '#98227c',
    950: '#000000',
  },
}
SCSS
$custom: #98227c;
$custom-light: #ba6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#98227c",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 124
  },
  "hsl": {
    "h": 314.237,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.17887,
    "h": 339.6
  },
  "luminance": 0.09275
}

Semantic roles & 50–950 ramp

primary
#98227C
secondary
#57BE70
accent
#E66941
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98227C

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

Preview Lab → · Contrast checker → · Palette generator →

#98227C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva