#975162#975162

#975162 is a mid, moderate red. Relative luminance 0.133; OKLCH L 52.3% C 0.095 H 5.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#975162
RGBrgb(151, 81, 98)
HSLhsl(345, 30%, 45%)
HSVhsv(345, 46%, 59%)
CMYKcmyk(0%, 46.4%, 35.1%, 40.8%)
CIE-LABlab(43.28, 31.13, 3.26)
CIE-LCHlch(43.28, 31.30, 5.98°)
OKLaboklab(52.32% 0.0945 0.0089)
OKLCHoklch(52.32% 0.095 5.4)
XYZxyz(17.9103, 13.3476, 13.1860)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975162 #519786
analogous
#975185 #975162 #976351
triadic
#975162 #629751 #516297
tetradic
#975162 #859751 #519786 #635197
square
#975162 #859751 #519786 #635197
split-complementary
#975162 #519763 #518597
monochromatic
#47262E #6F3C48 #975162 #B37282 #C99AA5

Accessibility & contrast

On white

5.72
#975162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#975162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975162
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975162#FFFFFF#000000##FFFFFF
##9751621.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5E62
Deuteranopia (green-blind)
#6E6B60
Tritanopia (blue-blind)
#A24B57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #975162;
/* rgb */ color: rgb(151, 81, 98);
/* oklch */ color: oklch(52.3% 0.095 5.4);
Tailwind
colors: {
  custom: {
    50: '#b8838e',
    500: '#975162',
    950: '#000000',
  },
}
SCSS
$custom: #975162;
$custom-light: #b8838e;
$custom-dark: #000000;
JSON
{
  "hex": "#975162",
  "rgb": {
    "r": 151,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 345.429,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.09488,
    "h": 5.4
  },
  "luminance": 0.13346
}

Semantic roles & 50–950 ramp

primary
#975162
secondary
#8EB6AC
accent
#C6AE61
background
#FBF8F8
surface
#F6EFF0
border
#D0CACB
text
#120B0C
muted
#817C7D

Preview Lab

Preview with #975162

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

Preview Lab → · Contrast checker → · Palette generator →

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