#98236C#98236C

#98236C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.168 H 347.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#98236C
RGBrgb(152, 35, 108)
HSLhsl(323, 63%, 37%)
HSVhsv(323, 77%, 60%)
CMYKcmyk(0%, 77%, 28.9%, 40.4%)
CIE-LABlab(35.91, 53.80, -13.93)
CIE-LCHlch(35.91, 55.57, 345.49°)
OKLaboklab(46.98% 0.1638 -0.0367)
OKLCHoklch(46.98% 0.168 347.4)
XYZxyz(16.2575, 8.9620, 15.0581)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98236C #23984F
analogous
#8A2398 #98236C #982332
triadic
#98236C #6C9823 #236C98
tetradic
#98236C #988A23 #23984F #233298
square
#98236C #988A23 #23984F #233298
split-complementary
#98236C #329823 #23988A
monochromatic
#350C25 #661849 #98236C #CA2E8F #D95CAA

Accessibility & contrast

On white

7.52
#98236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#98236C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98236C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98236C#FFFFFF#000000##FFFFFF
##98236C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34486E
Deuteranopia (green-blind)
#575C69
Tritanopia (blue-blind)
#A31E45
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98236c;
/* rgb */ color: rgb(152, 35, 108);
/* oklch */ color: oklch(47.0% 0.168 347.4);
Tailwind
colors: {
  custom: {
    50: '#ba6a96',
    500: '#98236c',
    950: '#000000',
  },
}
SCSS
$custom: #98236c;
$custom-light: #ba6a96;
$custom-dark: #000000;
JSON
{
  "hex": "#98236c",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 322.564,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.16789,
    "h": 347.4
  },
  "luminance": 0.0896
}

Semantic roles & 50–950 ramp

primary
#98236C
secondary
#59BE7F
accent
#E68042
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98236C

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

Preview Lab → · Contrast checker → · Palette generator →

#98236C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva