#A6258F#A6258F

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

Color values

HEX#A6258F
RGBrgb(166, 37, 143)
HSLhsl(311, 64%, 40%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 77.7%, 13.9%, 34.9%)
CIE-LABlab(40.27, 61.37, -28.72)
CIE-LCHlch(40.27, 67.76, 334.92°)
OKLaboklab(51.12% 0.1806 -0.0783)
OKLCHoklch(51.12% 0.197 336.6)
XYZxyz(21.3458, 11.4153, 27.0605)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6258F #25A63C
analogous
#7D25A6 #A6258F #A6254E
triadic
#A6258F #8FA625 #258FA6
tetradic
#A6258F #A67D25 #25A63C #254EA6
square
#A6258F #A67D25 #25A63C #254EA6
split-complementary
#A6258F #4EA625 #25A67D
monochromatic
#420F39 #741A64 #A6258F #D236B6 #DD68C8

Accessibility & contrast

On white

6.40
#A6258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6258F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6258F#FFFFFF#000000##FFFFFF
##A6258F1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285392
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#AF2E58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6258f;
/* rgb */ color: rgb(166, 37, 143);
/* oklch */ color: oklch(51.1% 0.197 336.6);
Tailwind
colors: {
  custom: {
    50: '#c46eb0',
    500: '#a6258f',
    950: '#000000',
  },
}
SCSS
$custom: #a6258f;
$custom-light: #c46eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a6258f",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 310.698,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51124,
    "c": 0.19683,
    "h": 336.6
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#A6258F
secondary
#64C375
accent
#E75F41
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6258F

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

Preview Lab → · Contrast checker → · Palette generator →

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