#A6258D#A6258D

#A6258D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.195 H 337.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A6258D
RGBrgb(166, 37, 141)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 77.7%, 15.1%, 34.9%)
CIE-LABlab(40.17, 61.08, -27.66)
CIE-LCHlch(40.17, 67.05, 335.64°)
OKLaboklab(51.02% 0.1804 -0.0752)
OKLCHoklch(51.02% 0.195 337.4)
XYZxyz(21.1956, 11.3552, 26.2696)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6258D #25A63E
analogous
#7F25A6 #A6258D #A6254C
triadic
#A6258D #8DA625 #258DA6
tetradic
#A6258D #A67F25 #25A63E #254CA6
square
#A6258D #A67F25 #25A63E #254CA6
split-complementary
#A6258D #4CA625 #25A67F
monochromatic
#420F38 #741A62 #A6258D #D236B4 #DD68C7

Accessibility & contrast

On white

6.42
#A6258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A6258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6258D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6258D#FFFFFF#000000##FFFFFF
##A6258D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#AF2D57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6258d;
/* rgb */ color: rgb(166, 37, 141);
/* oklch */ color: oklch(51.0% 0.195 337.4);
Tailwind
colors: {
  custom: {
    50: '#c46eae',
    500: '#a6258d',
    950: '#000000',
  },
}
SCSS
$custom: #a6258d;
$custom-light: #c46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6258d",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 311.628,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.19546,
    "h": 337.4
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#A6258D
secondary
#64C376
accent
#E76141
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6258D

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

Preview Lab → · Contrast checker → · Palette generator →

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