#A6297A#A6297A

#A6297A is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.179 H 345.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A6297A
RGBrgb(166, 41, 122)
HSLhsl(321, 60%, 41%)
HSVhsv(321, 75%, 65%)
CMYKcmyk(0%, 75.3%, 26.5%, 34.9%)
CIE-LABlab(39.75, 57.26, -16.61)
CIE-LCHlch(39.75, 59.62, 343.83°)
OKLaboklab(50.43% 0.1737 -0.0441)
OKLCHoklch(50.43% 0.179 345.8)
XYZxyz(20.0326, 11.1002, 19.4962)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6297A #29A655
analogous
#9329A6 #A6297A #A6293C
triadic
#A6297A #7AA629 #297AA6
tetradic
#A6297A #A69329 #29A655 #293CA6
square
#A6297A #A69329 #29A655 #293CA6
split-complementary
#A6297A #3CA629 #29A693
monochromatic
#441132 #751D56 #A6297A #CF3D9C #DB6EB5

Accessibility & contrast

On white

6.52
#A6297A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A6297A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6297A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6297A#FFFFFF#000000##FFFFFF
##A6297A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#B1264E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6297a;
/* rgb */ color: rgb(166, 41, 122);
/* oklch */ color: oklch(50.4% 0.179 345.8);
Tailwind
colors: {
  custom: {
    50: '#c56fa0',
    500: '#a6297a',
    950: '#000000',
  },
}
SCSS
$custom: #a6297a;
$custom-light: #c56fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6297a",
  "rgb": {
    "r": 166,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 321.12,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.17922,
    "h": 345.8
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#A6297A
secondary
#69C288
accent
#E47C44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A6297A

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

Preview Lab → · Contrast checker → · Palette generator →

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