#A6258A#A6258A

#A6258A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.193 H 338.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A6258A
RGBrgb(166, 37, 138)
HSLhsl(313, 64%, 40%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 77.7%, 16.9%, 34.9%)
CIE-LABlab(40.03, 60.66, -26.05)
CIE-LCHlch(40.03, 66.01, 336.76°)
OKLaboklab(50.87% 0.1801 -0.0706)
OKLCHoklch(50.87% 0.193 338.6)
XYZxyz(20.9754, 11.2672, 25.1099)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6258A #25A641
analogous
#8125A6 #A6258A #A6254A
triadic
#A6258A #8AA625 #258AA6
tetradic
#A6258A #A68125 #25A641 #254AA6
square
#A6258A #A68125 #25A641 #254AA6
split-complementary
#A6258A #4AA625 #25A681
monochromatic
#420F37 #741A60 #A6258A #D236B0 #DD68C4

Accessibility & contrast

On white

6.46
#A6258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A6258A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6258A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6258A#FFFFFF#000000##FFFFFF
##A6258A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#B02C55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6258a;
/* rgb */ color: rgb(166, 37, 138);
/* oklch */ color: oklch(50.9% 0.193 338.6);
Tailwind
colors: {
  custom: {
    50: '#c46eac',
    500: '#a6258a',
    950: '#000000',
  },
}
SCSS
$custom: #a6258a;
$custom-light: #c46eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a6258a",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 313.023,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50869,
    "c": 0.19345,
    "h": 338.6
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#A6258A
secondary
#64C378
accent
#E76541
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6258A

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

Preview Lab → · Contrast checker → · Palette generator →

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