#A6397E#A6397E

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

Color values

HEX#A6397E
RGBrgb(166, 57, 126)
HSLhsl(322, 49%, 44%)
HSVhsv(322, 66%, 65%)
CMYKcmyk(0%, 65.7%, 24.1%, 34.9%)
CIE-LABlab(42.06, 51.78, -15.54)
CIE-LCHlch(42.06, 54.06, 343.30°)
OKLaboklab(52.18% 0.1561 -0.0412)
OKLCHoklch(52.18% 0.161 345.2)
XYZxyz(20.9557, 12.5417, 21.0518)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6397E #39A661
analogous
#9739A6 #A6397E #A63947
triadic
#A6397E #7EA639 #397EA6
tetradic
#A6397E #A69739 #39A661 #3947A6
square
#A6397E #A69739 #39A661 #3947A6
split-complementary
#A6397E #47A639 #39A697
monochromatic
#4B1A39 #78295B #A6397E #C5579D #D584B7

Accessibility & contrast

On white

5.99
#A6397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A6397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6397E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6397E#FFFFFF#000000##FFFFFF
##A6397E1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445880
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#B13856
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a6397e;
/* rgb */ color: rgb(166, 57, 126);
/* oklch */ color: oklch(52.2% 0.161 345.2);
Tailwind
colors: {
  custom: {
    50: '#c477a3',
    500: '#a6397e',
    950: '#000000',
  },
}
SCSS
$custom: #a6397e;
$custom-light: #c477a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6397e",
  "rgb": {
    "r": 166,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 322.018,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5218,
    "c": 0.16142,
    "h": 345.2
  },
  "luminance": 0.1254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6397E

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

Preview Lab → · Contrast checker → · Palette generator →

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