#A6397A#A6397A

#A6397A is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.159 H 347.3°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A6397A
RGBrgb(166, 57, 122)
HSLhsl(324, 49%, 44%)
HSVhsv(324, 66%, 65%)
CMYKcmyk(0%, 65.7%, 26.5%, 34.9%)
CIE-LABlab(41.91, 51.24, -13.31)
CIE-LCHlch(41.91, 52.94, 345.43°)
OKLaboklab(52.01% 0.1551 -0.0351)
OKLCHoklch(52.01% 0.159 347.3)
XYZxyz(20.7027, 12.4405, 19.7195)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6397A #39A665
analogous
#9B39A6 #A6397A #A63943
triadic
#A6397A #7AA639 #397AA6
tetradic
#A6397A #A69B39 #39A665 #3943A6
square
#A6397A #A69B39 #39A665 #3943A6
split-complementary
#A6397A #43A639 #39A69B
monochromatic
#4B1A37 #782959 #A6397A #C55799 #D584B4

Accessibility & contrast

On white

6.02
#A6397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A6397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6397A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6397A#FFFFFF#000000##FFFFFF
##A6397A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577C
Deuteranopia (green-blind)
#656A77
Tritanopia (blue-blind)
#B13654
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a6397a;
/* rgb */ color: rgb(166, 57, 122);
/* oklch */ color: oklch(52.0% 0.159 347.3);
Tailwind
colors: {
  custom: {
    50: '#c477a0',
    500: '#a6397a',
    950: '#000000',
  },
}
SCSS
$custom: #a6397a;
$custom-light: #c477a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6397a",
  "rgb": {
    "r": 166,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 324.22,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52013,
    "c": 0.15901,
    "h": 347.3
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#A6397A
secondary
#7CBF97
accent
#D8874F
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A6397A

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

Preview Lab → · Contrast checker → · Palette generator →

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