#98335A#98335A

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

Color values

HEX#98335A
RGBrgb(152, 51, 90)
HSLhsl(337, 50%, 40%)
HSVhsv(337, 66%, 60%)
CMYKcmyk(0%, 66.4%, 40.8%, 40.4%)
CIE-LABlab(37.45, 45.57, -0.19)
CIE-LCHlch(37.45, 45.57, 359.76°)
OKLaboklab(47.9% 0.1394 0.0001)
OKLCHoklch(47.9% 0.139 0)
XYZxyz(15.9792, 9.7831, 10.7177)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98335A #339871
analogous
#98338C #98335A #983F33
triadic
#98335A #5A9833 #335A98
tetradic
#98335A #8C9833 #339871 #3F3398
square
#98335A #8C9833 #339871 #3F3398
split-complementary
#98335A #33983F #338C98
monochromatic
#3C1424 #6A243F #98335A #C14776 #D17598

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98335A#FFFFFF#000000##FFFFFF
##98335A1.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)
#464C5B
Deuteranopia (green-blind)
#615F58
Tritanopia (blue-blind)
#A42843
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98335a;
/* rgb */ color: rgb(152, 51, 90);
/* oklch */ color: oklch(47.9% 0.139 0.0);
Tailwind
colors: {
  custom: {
    50: '#ba7188',
    500: '#98335a',
    950: '#000000',
  },
}
SCSS
$custom: #98335a;
$custom-light: #ba7188;
$custom-dark: #000000;
JSON
{
  "hex": "#98335a",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 336.832,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47895,
    "c": 0.13938,
    "h": 0
  },
  "luminance": 0.09781
}

Semantic roles & 50–950 ramp

primary
#98335A
secondary
#6EB99C
accent
#D9A44F
background
#FBF7F8
surface
#F7EDEF
border
#D0C8CA
text
#12080B
muted
#817B7C

Preview Lab

Preview with #98335A

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

Preview Lab → · Contrast checker → · Palette generator →

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