#A6397F#A6397F

#A6397F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.2% C 0.162 H 344.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A6397F
RGBrgb(166, 57, 127)
HSLhsl(321, 49%, 44%)
HSVhsv(321, 66%, 65%)
CMYKcmyk(0%, 65.7%, 23.5%, 34.9%)
CIE-LABlab(42.10, 51.92, -16.09)
CIE-LCHlch(42.10, 54.36, 342.78°)
OKLaboklab(52.22% 0.1563 -0.0428)
OKLCHoklch(52.22% 0.162 344.7)
XYZxyz(21.0205, 12.5676, 21.3933)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6397F #39A660
analogous
#9639A6 #A6397F #A63948
triadic
#A6397F #7FA639 #397FA6
tetradic
#A6397F #A69639 #39A660 #3948A6
square
#A6397F #A69639 #39A660 #3948A6
split-complementary
#A6397F #48A639 #39A696
monochromatic
#4B1A39 #78295C #A6397F #C5579E #D584B8

Accessibility & contrast

On white

5.98
#A6397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6397F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6397F#FFFFFF#000000##FFFFFF
##A6397F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#B13857
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a6397f;
/* rgb */ color: rgb(166, 57, 127);
/* oklch */ color: oklch(52.2% 0.162 344.7);
Tailwind
colors: {
  custom: {
    50: '#c477a4',
    500: '#a6397f',
    950: '#000000',
  },
}
SCSS
$custom: #a6397f;
$custom-light: #c477a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a6397f",
  "rgb": {
    "r": 166,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 321.468,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.16206,
    "h": 344.7
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#A6397F
secondary
#7CBF94
accent
#D8804F
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A6397F

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

Preview Lab → · Contrast checker → · Palette generator →

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