#98237B#98237B

#98237B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.177 H 340.1°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#98237B
RGBrgb(152, 35, 123)
HSLhsl(315, 63%, 37%)
HSVhsv(315, 77%, 60%)
CMYKcmyk(0%, 77%, 19.1%, 40.4%)
CIE-LABlab(36.57, 55.80, -22.34)
CIE-LCHlch(36.57, 60.10, 338.18°)
OKLaboklab(47.67% 0.1666 -0.0603)
OKLCHoklch(47.67% 0.177 340.1)
XYZxyz(17.1256, 9.3092, 19.6300)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98237B #239840
analogous
#7B2398 #98237B #982341
triadic
#98237B #7B9823 #237B98
tetradic
#98237B #987B23 #239840 #234198
square
#98237B #987B23 #239840 #234198
split-complementary
#98237B #419823 #23987B
monochromatic
#350C2A #661853 #98237B #CA2EA3 #D95CBA

Accessibility & contrast

On white

7.34
#98237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98237B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98237B#FFFFFF#000000##FFFFFF
##98237B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4A7D
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#A1274D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98237b;
/* rgb */ color: rgb(152, 35, 123);
/* oklch */ color: oklch(47.7% 0.177 340.1);
Tailwind
colors: {
  custom: {
    50: '#ba6ba1',
    500: '#98237b',
    950: '#000000',
  },
}
SCSS
$custom: #98237b;
$custom-light: #ba6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#98237b",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 314.872,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47672,
    "c": 0.17715,
    "h": 340.1
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#98237B
secondary
#59BE72
accent
#E66B42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #98237B

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

Preview Lab → · Contrast checker → · Palette generator →

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