#A6258E#A6258E

#A6258E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.196 H 337.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A6258E
RGBrgb(166, 37, 142)
HSLhsl(311, 64%, 40%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 77.7%, 14.5%, 34.9%)
CIE-LABlab(40.22, 61.23, -28.19)
CIE-LCHlch(40.22, 67.41, 335.28°)
OKLaboklab(51.07% 0.1805 -0.0768)
OKLCHoklch(51.07% 0.196 337)
XYZxyz(21.2704, 11.3851, 26.6633)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6258E #25A63D
analogous
#7E25A6 #A6258E #A6254D
triadic
#A6258E #8EA625 #258EA6
tetradic
#A6258E #A67E25 #25A63D #254DA6
square
#A6258E #A67E25 #25A63D #254DA6
split-complementary
#A6258E #4DA625 #25A67E
monochromatic
#420F38 #741A63 #A6258E #D236B5 #DD68C8

Accessibility & contrast

On white

6.41
#A6258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A6258E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6258E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6258E#FFFFFF#000000##FFFFFF
##A6258E1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#AF2E58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6258e;
/* rgb */ color: rgb(166, 37, 142);
/* oklch */ color: oklch(51.1% 0.196 337.0);
Tailwind
colors: {
  custom: {
    50: '#c46eaf',
    500: '#a6258e',
    950: '#000000',
  },
}
SCSS
$custom: #a6258e;
$custom-light: #c46eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a6258e",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 311.163,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.19615,
    "h": 337
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#A6258E
secondary
#64C375
accent
#E76041
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6258E

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

Preview Lab → · Contrast checker → · Palette generator →

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