#985162#985162

#985162 is a mid, moderate red. Relative luminance 0.134; OKLCH L 52.5% C 0.096 H 5.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#985162
RGBrgb(152, 81, 98)
HSLhsl(346, 30%, 46%)
HSVhsv(346, 47%, 60%)
CMYKcmyk(0%, 46.7%, 35.5%, 40.4%)
CIE-LABlab(43.42, 31.51, 3.48)
CIE-LCHlch(43.42, 31.70, 6.31°)
OKLaboklab(52.45% 0.0956 0.0094)
OKLCHoklch(52.45% 0.096 5.6)
XYZxyz(18.0967, 13.4437, 13.1947)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985162 #519887
analogous
#985185 #985162 #986351
triadic
#985162 #629851 #516298
tetradic
#985162 #859851 #519887 #635198
square
#985162 #859851 #519887 #635198
split-complementary
#985162 #519863 #518598
monochromatic
#48262F #703C48 #985162 #B47282 #C99AA5

Accessibility & contrast

On white

5.69
#985162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#985162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985162
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985162#FFFFFF#000000##FFFFFF
##9851621.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5E62
Deuteranopia (green-blind)
#6F6C60
Tritanopia (blue-blind)
#A34B57
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #985162;
/* rgb */ color: rgb(152, 81, 98);
/* oklch */ color: oklch(52.5% 0.096 5.6);
Tailwind
colors: {
  custom: {
    50: '#b9838e',
    500: '#985162',
    950: '#000000',
  },
}
SCSS
$custom: #985162;
$custom-light: #b9838e;
$custom-dark: #000000;
JSON
{
  "hex": "#985162",
  "rgb": {
    "r": 152,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 345.634,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.09608,
    "h": 5.6
  },
  "luminance": 0.13442
}

Semantic roles & 50–950 ramp

primary
#985162
secondary
#8FB6AD
accent
#C7AE61
background
#FBF8F8
surface
#F6EFF0
border
#D0CACB
text
#120B0C
muted
#817C7D

Preview Lab

Preview with #985162

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

Preview Lab → · Contrast checker → · Palette generator →

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