#982540#982540

#982540 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.150 H 12.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#982540
RGBrgb(152, 37, 64)
HSLhsl(346, 61%, 37%)
HSVhsv(346, 76%, 60%)
CMYKcmyk(0%, 75.7%, 57.9%, 40.4%)
CIE-LABlab(34.74, 48.67, 12.67)
CIE-LCHlch(34.74, 50.29, 14.59°)
OKLaboklab(45.66% 0.147 0.0317)
OKLCHoklch(45.66% 0.15 12.1)
XYZxyz(14.5373, 8.3708, 5.6997)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982540 #25987D
analogous
#98257A #982540 #984425
triadic
#982540 #409825 #254098
tetradic
#982540 #7A9825 #25987D #442598
square
#982540 #7A9825 #25987D #442598
split-complementary
#982540 #259844 #257A98
monochromatic
#360D17 #67192B #982540 #C93155 #D85F7C

Accessibility & contrast

On white

7.85
#982540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#982540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982540
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982540#FFFFFF#000000##FFFFFF
##9825401.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434340
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#A60130
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982540;
/* rgb */ color: rgb(152, 37, 64);
/* oklch */ color: oklch(45.7% 0.150 12.1);
Tailwind
colors: {
  custom: {
    50: '#bc6a74',
    500: '#982540',
    950: '#000000',
  },
}
SCSS
$custom: #982540;
$custom-light: #bc6a74;
$custom-dark: #000000;
JSON
{
  "hex": "#982540",
  "rgb": {
    "r": 152,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 345.913,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.15041,
    "h": 12.1
  },
  "luminance": 0.08369
}

Semantic roles & 50–950 ramp

primary
#982540
secondary
#5CBDA6
accent
#E4BE44
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982540

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

Preview Lab → · Contrast checker → · Palette generator →

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