#984040#984040

#984040 is a mid, moderate red. Relative luminance 0.107; OKLCH L 48.9% C 0.119 H 22.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#984040
RGBrgb(152, 64, 64)
HSLhsl(0, 41%, 42%)
HSVhsv(0, 58%, 60%)
CMYKcmyk(0%, 57.9%, 57.9%, 40.4%)
CIE-LABlab(39.10, 36.91, 18.50)
CIE-LCHlch(39.10, 41.29, 26.62°)
OKLaboklab(48.91% 0.1097 0.0454)
OKLCHoklch(48.91% 0.119 22.5)
XYZxyz(15.7090, 10.7143, 6.0903)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#984040 #409898
analogous
#98406C #984040 #986C40
triadic
#984040 #409840 #404098
tetradic
#984040 #6C9840 #409898 #6C4098
square
#984040 #6C9840 #409898 #6C4098
split-complementary
#984040 #40986C #406C98
monochromatic
#421C1C #6D2E2E #984040 #BA5B5B #CC8686

Accessibility & contrast

On white

6.68
#984040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#984040 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #984040
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##984040#FFFFFF#000000##FFFFFF
##9840401.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55513F
Deuteranopia (green-blind)
#6B633E
Tritanopia (blue-blind)
#A63141
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #984040;
/* rgb */ color: rgb(152, 64, 64);
/* oklch */ color: oklch(48.9% 0.119 22.5);
Tailwind
colors: {
  custom: {
    50: '#bb7874',
    500: '#984040',
    950: '#000000',
  },
}
SCSS
$custom: #984040;
$custom-light: #bb7874;
$custom-dark: #000000;
JSON
{
  "hex": "#984040",
  "rgb": {
    "r": 152,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 40.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48913,
    "c": 0.1187,
    "h": 22.5
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#984040
secondary
#7DB7B7
accent
#D1D157
background
#FCF7F7
surface
#F8EDED
border
#D1C8C8
text
#130908
muted
#827B7B

Preview Lab

Preview with #984040

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

Preview Lab → · Contrast checker → · Palette generator →

#984040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva