#A5798D#A5798D

#A5798D is a light, moderate pink. Relative luminance 0.236; OKLCH L 62.6% C 0.061 H 350.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A5798D
RGBrgb(165, 121, 141)
HSLhsl(333, 20%, 56%)
HSVhsv(333, 27%, 65%)
CMYKcmyk(0%, 26.7%, 14.5%, 35.3%)
CIE-LABlab(55.68, 20.36, -4.07)
CIE-LCHlch(55.68, 20.76, 348.69°)
OKLaboklab(62.58% 0.0602 -0.0105)
OKLCHoklch(62.58% 0.061 350.1)
XYZxyz(27.1621, 23.5983, 28.3183)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5798D #79A591
analogous
#A579A3 #A5798D #A57B79
triadic
#A5798D #8DA579 #798DA5
tetradic
#A5798D #A3A579 #79A591 #7B79A5
square
#A5798D #A3A579 #79A591 #7B79A5
split-complementary
#A5798D #79A57B #79A3A5
monochromatic
#624250 #865A6E #A5798D #BE9EAC #D6C2CB

Accessibility & contrast

On white

3.67
#A5798D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A5798D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5798D
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5798D#FFFFFF#000000##000000
##A5798D1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818E
Deuteranopia (green-blind)
#87888C
Tritanopia (blue-blind)
#AC7880
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a5798d;
/* rgb */ color: rgb(165, 121, 141);
/* oklch */ color: oklch(62.6% 0.061 350.1);
Tailwind
colors: {
  custom: {
    50: '#c0a0ae',
    500: '#a5798d',
    950: '#000000',
  },
}
SCSS
$custom: #a5798d;
$custom-light: #c0a0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5798d",
  "rgb": {
    "r": 165,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 332.727,
    "s": 19.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62582,
    "c": 0.06112,
    "h": 350.1
  },
  "luminance": 0.23597
}

Semantic roles & 50–950 ramp

primary
#A5798D
secondary
#B4C6BE
accent
#BC986C
background
#FBF9FA
surface
#F7F2F4
border
#D0CCCE
text
#120E10
muted
#817E7F

Preview Lab

Preview with #A5798D

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

Preview Lab → · Contrast checker → · Palette generator →

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