#98405D#98405D

#98405D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 49.7% C 0.121 H 1.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#98405D
RGBrgb(152, 64, 93)
HSLhsl(340, 41%, 42%)
HSVhsv(340, 58%, 60%)
CMYKcmyk(0%, 57.9%, 38.8%, 40.4%)
CIE-LABlab(39.81, 39.83, 1.35)
CIE-LCHlch(39.81, 39.86, 1.94°)
OKLaboklab(49.68% 0.1214 0.004)
OKLCHoklch(49.68% 0.121 1.9)
XYZxyz(16.7590, 11.1343, 11.6203)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98405D #40987B
analogous
#984089 #98405D #984F40
triadic
#98405D #5D9840 #405D98
tetradic
#98405D #899840 #40987B #4F4098
square
#98405D #899840 #40987B #4F4098
split-complementary
#98405D #40984F #408998
monochromatic
#421C28 #6D2E43 #98405D #BA5B7A #CC869D

Accessibility & contrast

On white

6.51
#98405D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#98405D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #98405D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98405D#FFFFFF#000000##FFFFFF
##98405D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50535E
Deuteranopia (green-blind)
#67645B
Tritanopia (blue-blind)
#A4384B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #98405d;
/* rgb */ color: rgb(152, 64, 93);
/* oklch */ color: oklch(49.7% 0.121 1.9);
Tailwind
colors: {
  custom: {
    50: '#ba798a',
    500: '#98405d',
    950: '#000000',
  },
}
SCSS
$custom: #98405d;
$custom-light: #ba798a;
$custom-dark: #000000;
JSON
{
  "hex": "#98405d",
  "rgb": {
    "r": 152,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 340.227,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4968,
    "c": 0.12144,
    "h": 1.9
  },
  "luminance": 0.11133
}

Semantic roles & 50–950 ramp

primary
#98405D
secondary
#7DB7A4
accent
#D1A957
background
#FBF7F8
surface
#F7EEF0
border
#D0C9CB
text
#12090B
muted
#817B7C

Preview Lab

Preview with #98405D

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

Preview Lab → · Contrast checker → · Palette generator →

#98405D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva