#A6397D#A6397D

#A6397D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.1% C 0.161 H 345.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A6397D
RGBrgb(166, 57, 125)
HSLhsl(323, 49%, 44%)
HSVhsv(323, 66%, 65%)
CMYKcmyk(0%, 65.7%, 24.7%, 34.9%)
CIE-LABlab(42.02, 51.64, -14.98)
CIE-LCHlch(42.02, 53.77, 343.82°)
OKLaboklab(52.14% 0.1558 -0.0397)
OKLCHoklch(52.14% 0.161 345.7)
XYZxyz(20.8915, 12.5160, 20.7136)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6397D #39A662
analogous
#9839A6 #A6397D #A63946
triadic
#A6397D #7DA639 #397DA6
tetradic
#A6397D #A69839 #39A662 #3946A6
square
#A6397D #A69839 #39A662 #3946A6
split-complementary
#A6397D #46A639 #39A698
monochromatic
#4B1A38 #78295B #A6397D #C5579C #D584B7

Accessibility & contrast

On white

6.00
#A6397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A6397D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6397D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6397D#FFFFFF#000000##FFFFFF
##A6397D1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577F
Deuteranopia (green-blind)
#646A7A
Tritanopia (blue-blind)
#B13756
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a6397d;
/* rgb */ color: rgb(166, 57, 125);
/* oklch */ color: oklch(52.1% 0.161 345.7);
Tailwind
colors: {
  custom: {
    50: '#c477a2',
    500: '#a6397d',
    950: '#000000',
  },
}
SCSS
$custom: #a6397d;
$custom-light: #c477a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a6397d",
  "rgb": {
    "r": 166,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 322.569,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52138,
    "c": 0.16081,
    "h": 345.7
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#A6397D
secondary
#7CBF95
accent
#D8834F
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6397D

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

Preview Lab → · Contrast checker → · Palette generator →

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