#98236F#98236F

#98236F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.170 H 345.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#98236F
RGBrgb(152, 35, 111)
HSLhsl(321, 63%, 37%)
HSVhsv(321, 77%, 60%)
CMYKcmyk(0%, 77%, 27%, 40.4%)
CIE-LABlab(36.04, 54.18, -15.63)
CIE-LCHlch(36.04, 56.39, 343.91°)
OKLaboklab(47.11% 0.1645 -0.0415)
OKLCHoklch(47.11% 0.17 345.8)
XYZxyz(16.4199, 9.0270, 15.9135)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98236F #23984C
analogous
#872398 #98236F #982334
triadic
#98236F #6F9823 #236F98
tetradic
#98236F #988723 #23984C #233498
square
#98236F #988723 #23984C #233498
split-complementary
#98236F #349823 #239887
monochromatic
#350C26 #66184B #98236F #CA2E93 #D95CAD

Accessibility & contrast

On white

7.49
#98236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#98236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98236F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98236F#FFFFFF#000000##FFFFFF
##98236F1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334871
Deuteranopia (green-blind)
#565C6C
Tritanopia (blue-blind)
#A32046
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98236f;
/* rgb */ color: rgb(152, 35, 111);
/* oklch */ color: oklch(47.1% 0.170 345.8);
Tailwind
colors: {
  custom: {
    50: '#ba6a98',
    500: '#98236f',
    950: '#000000',
  },
}
SCSS
$custom: #98236f;
$custom-light: #ba6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#98236f",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 321.026,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47108,
    "c": 0.16962,
    "h": 345.8
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#98236F
secondary
#59BE7C
accent
#E67B42
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #98236F

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

Preview Lab → · Contrast checker → · Palette generator →

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