#98237F#98237F

#98237F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.180 H 338.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#98237F
RGBrgb(152, 35, 127)
HSLhsl(313, 63%, 37%)
HSVhsv(313, 77%, 60%)
CMYKcmyk(0%, 77%, 16.4%, 40.4%)
CIE-LABlab(36.76, 56.37, -24.54)
CIE-LCHlch(36.76, 61.48, 336.48°)
OKLaboklab(47.87% 0.1671 -0.0666)
OKLCHoklch(47.87% 0.18 338.3)
XYZxyz(17.3811, 9.4114, 20.9758)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98237F #23983C
analogous
#772398 #98237F #982344
triadic
#98237F #7F9823 #237F98
tetradic
#98237F #987723 #23983C #234498
square
#98237F #987723 #23983C #234498
split-complementary
#98237F #449823 #239877
monochromatic
#350C2C #661855 #98237F #CA2EA9 #D95CBF

Accessibility & contrast

On white

7.29
#98237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98237F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98237F#FFFFFF#000000##FFFFFF
##98237F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A1294F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98237f;
/* rgb */ color: rgb(152, 35, 127);
/* oklch */ color: oklch(47.9% 0.180 338.3);
Tailwind
colors: {
  custom: {
    50: '#ba6ba4',
    500: '#98237f',
    950: '#000000',
  },
}
SCSS
$custom: #98237f;
$custom-light: #ba6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#98237f",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 312.821,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.17985,
    "h": 338.3
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#98237F
secondary
#59BE6E
accent
#E66542
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98237F

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

Preview Lab → · Contrast checker → · Palette generator →

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