#98335F#98335F

#98335F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.1% C 0.141 H 356.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#98335F
RGBrgb(152, 51, 95)
HSLhsl(334, 50%, 40%)
HSVhsv(334, 66%, 60%)
CMYKcmyk(0%, 66.4%, 37.5%, 40.4%)
CIE-LABlab(37.61, 46.14, -3.13)
CIE-LCHlch(37.61, 46.25, 356.12°)
OKLaboklab(48.07% 0.1411 -0.0076)
OKLCHoklch(48.07% 0.141 356.9)
XYZxyz(16.1993, 9.8711, 11.8765)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98335F #33986C
analogous
#983392 #98335F #983933
triadic
#98335F #5F9833 #335F98
tetradic
#98335F #929833 #33986C #393398
square
#98335F #929833 #33986C #393398
split-complementary
#98335F #339839 #339298
monochromatic
#3C1426 #6A2442 #98335F #C1477C #D1759D

Accessibility & contrast

On white

7.06
#98335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#98335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98335F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98335F#FFFFFF#000000##FFFFFF
##98335F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#605F5D
Tritanopia (blue-blind)
#A42A45
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #98335f;
/* rgb */ color: rgb(152, 51, 95);
/* oklch */ color: oklch(48.1% 0.141 356.9);
Tailwind
colors: {
  custom: {
    50: '#ba718c',
    500: '#98335f',
    950: '#000000',
  },
}
SCSS
$custom: #98335f;
$custom-light: #ba718c;
$custom-dark: #000000;
JSON
{
  "hex": "#98335f",
  "rgb": {
    "r": 152,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 333.861,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.14131,
    "h": 356.9
  },
  "luminance": 0.09869
}

Semantic roles & 50–950 ramp

primary
#98335F
secondary
#6EB998
accent
#D99D4F
background
#FBF7F8
surface
#F7EDF0
border
#D0C8CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #98335F

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

Preview Lab → · Contrast checker → · Palette generator →

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