#98237E#98237E

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

Color values

HEX#98237E
RGBrgb(152, 35, 126)
HSLhsl(313, 63%, 37%)
HSVhsv(313, 77%, 60%)
CMYKcmyk(0%, 77%, 17.1%, 40.4%)
CIE-LABlab(36.72, 56.22, -23.99)
CIE-LCHlch(36.72, 61.13, 336.89°)
OKLaboklab(47.82% 0.1669 -0.065)
OKLCHoklch(47.82% 0.179 338.7)
XYZxyz(17.3162, 9.3855, 20.6342)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98237E #23983D
analogous
#782398 #98237E #982344
triadic
#98237E #7E9823 #237E98
tetradic
#98237E #987823 #23983D #234498
square
#98237E #987823 #23983D #234498
split-complementary
#98237E #449823 #239878
monochromatic
#350C2C #661855 #98237E #CA2EA7 #D95CBE

Accessibility & contrast

On white

7.30
#98237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#98237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98237E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98237E#FFFFFF#000000##FFFFFF
##98237E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#515D7B
Tritanopia (blue-blind)
#A1294E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98237e;
/* rgb */ color: rgb(152, 35, 126);
/* oklch */ color: oklch(47.8% 0.179 338.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ba3',
    500: '#98237e',
    950: '#000000',
  },
}
SCSS
$custom: #98237e;
$custom-light: #ba6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#98237e",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 313.333,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47822,
    "c": 0.17916,
    "h": 338.7
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#98237E
secondary
#59BE6F
accent
#E66642
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98237E

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

Preview Lab → · Contrast checker → · Palette generator →

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