#984E5F#984E5F

#984E5F is a mid, moderate red. Relative luminance 0.130; OKLCH L 51.9% C 0.100 H 6.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#984E5F
RGBrgb(152, 78, 95)
HSLhsl(346, 32%, 45%)
HSVhsv(346, 49%, 60%)
CMYKcmyk(0%, 48.7%, 37.5%, 40.4%)
CIE-LABlab(42.69, 32.76, 4.27)
CIE-LCHlch(42.69, 33.04, 7.43°)
OKLaboklab(51.87% 0.0995 0.0115)
OKLCHoklch(51.87% 0.1 6.6)
XYZxyz(17.7397, 12.9520, 12.3900)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984E5F #4E9887
analogous
#984E84 #984E5F #98624E
triadic
#984E5F #5F984E #4E5F98
tetradic
#984E5F #84984E #4E9887 #624E98
square
#984E5F #84984E #4E9887 #624E98
split-complementary
#984E5F #4E9862 #4E8498
monochromatic
#47242C #703946 #984E5F #B56E7F #CA97A2

Accessibility & contrast

On white

5.85
#984E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#984E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984E5F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984E5F#FFFFFF#000000##FFFFFF
##984E5F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C5F
Deuteranopia (green-blind)
#6E6A5D
Tritanopia (blue-blind)
#A34754
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #984e5f;
/* rgb */ color: rgb(152, 78, 95);
/* oklch */ color: oklch(51.9% 0.100 6.6);
Tailwind
colors: {
  custom: {
    50: '#b9818c',
    500: '#984e5f',
    950: '#000000',
  },
}
SCSS
$custom: #984e5f;
$custom-light: #b9818c;
$custom-dark: #000000;
JSON
{
  "hex": "#984e5f",
  "rgb": {
    "r": 152,
    "g": 78,
    "b": 95
  },
  "hsl": {
    "h": 346.216,
    "s": 32.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.10013,
    "h": 6.6
  },
  "luminance": 0.1295
}

Semantic roles & 50–950 ramp

primary
#984E5F
secondary
#8CB6AC
accent
#C8B05F
background
#FBF8F8
surface
#F6EFF0
border
#D0CACB
text
#120A0C
muted
#817C7D

Preview Lab

Preview with #984E5F

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

Preview Lab → · Contrast checker → · Palette generator →

#984E5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva