#A6258C#A6258C

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

Color values

HEX#A6258C
RGBrgb(166, 37, 140)
HSLhsl(312, 64%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 77.7%, 15.7%, 34.9%)
CIE-LABlab(40.12, 60.94, -27.12)
CIE-LCHlch(40.12, 66.70, 336.01°)
OKLaboklab(50.97% 0.1803 -0.0737)
OKLCHoklch(50.97% 0.195 337.8)
XYZxyz(21.1215, 11.3256, 25.8795)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6258C #25A63F
analogous
#8025A6 #A6258C #A6254C
triadic
#A6258C #8CA625 #258CA6
tetradic
#A6258C #A68025 #25A63F #254CA6
square
#A6258C #A68025 #25A63F #254CA6
split-complementary
#A6258C #4CA625 #25A680
monochromatic
#420F38 #741A62 #A6258C #D236B3 #DD68C6

Accessibility & contrast

On white

6.43
#A6258C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6258C
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6258C#FFFFFF#000000##FFFFFF
##A6258C1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#576689
Tritanopia (blue-blind)
#AF2D57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a6258c;
/* rgb */ color: rgb(166, 37, 140);
/* oklch */ color: oklch(51.0% 0.195 337.8);
Tailwind
colors: {
  custom: {
    50: '#c46eae',
    500: '#a6258c',
    950: '#000000',
  },
}
SCSS
$custom: #a6258c;
$custom-light: #c46eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a6258c",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 312.093,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5097,
    "c": 0.19479,
    "h": 337.8
  },
  "luminance": 0.11324
}

Semantic roles & 50–950 ramp

primary
#A6258C
secondary
#64C377
accent
#E76341
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A6258C

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

Preview Lab → · Contrast checker → · Palette generator →

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