#A6258B#A6258B

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

Color values

HEX#A6258B
RGBrgb(166, 37, 139)
HSLhsl(313, 64%, 40%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 77.7%, 16.3%, 34.9%)
CIE-LABlab(40.08, 60.80, -26.59)
CIE-LCHlch(40.08, 66.36, 336.38°)
OKLaboklab(50.92% 0.1802 -0.0722)
OKLCHoklch(50.92% 0.194 338.2)
XYZxyz(21.0481, 11.2963, 25.4930)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6258B #25A640
analogous
#8125A6 #A6258B #A6254B
triadic
#A6258B #8BA625 #258BA6
tetradic
#A6258B #A68125 #25A640 #254BA6
square
#A6258B #A68125 #25A640 #254BA6
split-complementary
#A6258B #4BA625 #25A681
monochromatic
#420F37 #741A61 #A6258B #D236B2 #DD68C5

Accessibility & contrast

On white

6.44
#A6258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A6258B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6258B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6258B#FFFFFF#000000##FFFFFF
##A6258B1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#586588
Tritanopia (blue-blind)
#AF2C56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a6258b;
/* rgb */ color: rgb(166, 37, 139);
/* oklch */ color: oklch(50.9% 0.194 338.2);
Tailwind
colors: {
  custom: {
    50: '#c46ead',
    500: '#a6258b',
    950: '#000000',
  },
}
SCSS
$custom: #a6258b;
$custom-light: #c46ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a6258b",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 312.558,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.19412,
    "h": 338.2
  },
  "luminance": 0.11294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6258B

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

Preview Lab → · Contrast checker → · Palette generator →

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