#98237D#98237D

#98237D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.178 H 339.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#98237D
RGBrgb(152, 35, 125)
HSLhsl(314, 63%, 37%)
HSVhsv(314, 77%, 60%)
CMYKcmyk(0%, 77%, 17.8%, 40.4%)
CIE-LABlab(36.67, 56.08, -23.44)
CIE-LCHlch(36.67, 60.78, 337.32°)
OKLaboklab(47.77% 0.1668 -0.0635)
OKLCHoklch(47.77% 0.178 339.2)
XYZxyz(17.2520, 9.3598, 20.2961)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98237D #23983E
analogous
#792398 #98237D #982343
triadic
#98237D #7D9823 #237D98
tetradic
#98237D #987923 #23983E #234398
square
#98237D #987923 #23983E #234398
split-complementary
#98237D #439823 #239879
monochromatic
#350C2B #661854 #98237D #CA2EA6 #D95CBC

Accessibility & contrast

On white

7.31
#98237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#98237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98237D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98237D#FFFFFF#000000##FFFFFF
##98237D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B7F
Deuteranopia (green-blind)
#515D7A
Tritanopia (blue-blind)
#A1284E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98237d;
/* rgb */ color: rgb(152, 35, 125);
/* oklch */ color: oklch(47.8% 0.178 339.2);
Tailwind
colors: {
  custom: {
    50: '#ba6ba3',
    500: '#98237d',
    950: '#000000',
  },
}
SCSS
$custom: #98237d;
$custom-light: #ba6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#98237d",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 313.846,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.17849,
    "h": 339.2
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#98237D
secondary
#59BE70
accent
#E66842
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98237D

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

Preview Lab → · Contrast checker → · Palette generator →

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