#98237A#98237A

#98237A is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.176 H 340.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#98237A
RGBrgb(152, 35, 122)
HSLhsl(315, 63%, 37%)
HSVhsv(315, 77%, 60%)
CMYKcmyk(0%, 77%, 19.7%, 40.4%)
CIE-LABlab(36.53, 55.66, -21.79)
CIE-LCHlch(36.53, 59.77, 338.62°)
OKLaboklab(47.62% 0.1664 -0.0588)
OKLCHoklch(47.62% 0.176 340.5)
XYZxyz(17.0633, 9.2843, 19.3020)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98237A #239841
analogous
#7C2398 #98237A #98233F
triadic
#98237A #7A9823 #237A98
tetradic
#98237A #987C23 #239841 #233F98
square
#98237A #987C23 #239841 #233F98
split-complementary
#98237A #3F9823 #23987C
monochromatic
#350C2A #661852 #98237A #CA2EA2 #D95CB9

Accessibility & contrast

On white

7.35
#98237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#98237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98237A
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98237A#FFFFFF#000000##FFFFFF
##98237A1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7C
Deuteranopia (green-blind)
#525D77
Tritanopia (blue-blind)
#A1264C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98237a;
/* rgb */ color: rgb(152, 35, 122);
/* oklch */ color: oklch(47.6% 0.176 340.5);
Tailwind
colors: {
  custom: {
    50: '#ba6ba0',
    500: '#98237a',
    950: '#000000',
  },
}
SCSS
$custom: #98237a;
$custom-light: #ba6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#98237a",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 315.385,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47623,
    "c": 0.17649,
    "h": 340.5
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#98237A
secondary
#59BE73
accent
#E66C42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #98237A

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

Preview Lab → · Contrast checker → · Palette generator →

#98237A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva