#A6257E#A6257E

#A6257E is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.186 H 343.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A6257E
RGBrgb(166, 37, 126)
HSLhsl(319, 64%, 40%)
HSVhsv(319, 78%, 65%)
CMYKcmyk(0%, 77.7%, 24.1%, 34.9%)
CIE-LABlab(39.48, 59.03, -19.51)
CIE-LCHlch(39.48, 62.17, 341.71°)
OKLaboklab(50.29% 0.1784 -0.0521)
OKLCHoklch(50.29% 0.186 343.7)
XYZxyz(20.1542, 10.9387, 20.7846)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6257E #25A64D
analogous
#8E25A6 #A6257E #A6253D
triadic
#A6257E #7EA625 #257EA6
tetradic
#A6257E #A68E25 #25A64D #253DA6
square
#A6257E #A68E25 #25A64D #253DA6
split-complementary
#A6257E #3DA625 #25A68E
monochromatic
#420F32 #741A58 #A6257E #D236A2 #DD68B9

Accessibility & contrast

On white

6.59
#A6257E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A6257E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6257E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6257E#FFFFFF#000000##FFFFFF
##A6257E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#B1254F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a6257e;
/* rgb */ color: rgb(166, 37, 126);
/* oklch */ color: oklch(50.3% 0.186 343.7);
Tailwind
colors: {
  custom: {
    50: '#c56ea3',
    500: '#a6257e',
    950: '#000000',
  },
}
SCSS
$custom: #a6257e;
$custom-light: #c56ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a6257e",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 318.605,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50292,
    "c": 0.18583,
    "h": 343.7
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#A6257E
secondary
#64C381
accent
#E77441
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A6257E

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

Preview Lab → · Contrast checker → · Palette generator →

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