#98236B#98236B

#98236B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.167 H 347.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#98236B
RGBrgb(152, 35, 107)
HSLhsl(323, 63%, 37%)
HSVhsv(323, 77%, 60%)
CMYKcmyk(0%, 77%, 29.6%, 40.4%)
CIE-LABlab(35.87, 53.67, -13.35)
CIE-LCHlch(35.87, 55.31, 346.03°)
OKLaboklab(46.93% 0.1636 -0.0352)
OKLCHoklch(46.93% 0.167 347.9)
XYZxyz(16.2046, 8.9408, 14.7795)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98236B #239850
analogous
#8B2398 #98236B #982331
triadic
#98236B #6B9823 #236B98
tetradic
#98236B #988B23 #239850 #233198
square
#98236B #988B23 #239850 #233198
split-complementary
#98236B #319823 #23988B
monochromatic
#350C25 #661848 #98236B #CA2E8E #D95CA9

Accessibility & contrast

On white

7.53
#98236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98236B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98236B#FFFFFF#000000##FFFFFF
##98236B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35476D
Deuteranopia (green-blind)
#575C68
Tritanopia (blue-blind)
#A31E44
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #98236b;
/* rgb */ color: rgb(152, 35, 107);
/* oklch */ color: oklch(46.9% 0.167 347.9);
Tailwind
colors: {
  custom: {
    50: '#ba6a95',
    500: '#98236b',
    950: '#000000',
  },
}
SCSS
$custom: #98236b;
$custom-light: #ba6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#98236b",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 323.077,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46933,
    "c": 0.16733,
    "h": 347.9
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#98236B
secondary
#59BE80
accent
#E68142
background
#FBF6F9
surface
#F7ECF1
border
#D0C7CB
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98236B

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

Preview Lab → · Contrast checker → · Palette generator →

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