#98335B#98335B

#98335B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.9% C 0.140 H 359.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#98335B
RGBrgb(152, 51, 91)
HSLhsl(336, 50%, 40%)
HSVhsv(336, 66%, 60%)
CMYKcmyk(0%, 66.4%, 40.1%, 40.4%)
CIE-LABlab(37.48, 45.68, -0.78)
CIE-LCHlch(37.48, 45.69, 359.02°)
OKLaboklab(47.93% 0.1397 -0.0015)
OKLCHoklch(47.93% 0.14 359.4)
XYZxyz(16.0221, 9.8003, 10.9434)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98335B #339870
analogous
#98338D #98335B #983E33
triadic
#98335B #5B9833 #335B98
tetradic
#98335B #8D9833 #339870 #3E3398
square
#98335B #8D9833 #339870 #3E3398
split-complementary
#98335B #33983E #338D98
monochromatic
#3C1424 #6A2440 #98335B #C14777 #D17599

Accessibility & contrast

On white

7.10
#98335B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#98335B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98335B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98335B#FFFFFF#000000##FFFFFF
##98335B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#615F59
Tritanopia (blue-blind)
#A42843
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98335b;
/* rgb */ color: rgb(152, 51, 91);
/* oklch */ color: oklch(47.9% 0.140 359.4);
Tailwind
colors: {
  custom: {
    50: '#ba7189',
    500: '#98335b',
    950: '#000000',
  },
}
SCSS
$custom: #98335b;
$custom-light: #ba7189;
$custom-dark: #000000;
JSON
{
  "hex": "#98335b",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 336.238,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.13974,
    "h": 359.4
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#98335B
secondary
#6EB99B
accent
#D9A24F
background
#FBF7F8
surface
#F7EDF0
border
#D0C8CB
text
#12080B
muted
#817B7C

Preview Lab

Preview with #98335B

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

Preview Lab → · Contrast checker → · Palette generator →

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