#A6256C#A6256C

#A6256C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.176 H 352.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A6256C
RGBrgb(166, 37, 108)
HSLhsl(327, 64%, 40%)
HSVhsv(327, 78%, 65%)
CMYKcmyk(0%, 77.7%, 34.9%, 34.9%)
CIE-LABlab(38.75, 56.84, -9.37)
CIE-LCHlch(38.75, 57.61, 350.64°)
OKLaboklab(49.53% 0.1743 -0.0242)
OKLCHoklch(49.53% 0.176 352.1)
XYZxyz(19.0954, 10.5152, 15.2085)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6256C #25A65F
analogous
#A025A6 #A6256C #A6252B
triadic
#A6256C #6CA625 #256CA6
tetradic
#A6256C #A6A025 #25A65F #252BA6
square
#A6256C #A6A025 #25A65F #252BA6
split-complementary
#A6256C #2BA625 #25A6A0
monochromatic
#420F2B #741A4B #A6256C #D2368C #DD68A9

Accessibility & contrast

On white

6.77
#A6256C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A6256C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6256C
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6256C#FFFFFF#000000##FFFFFF
##A6256C1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4C6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B31945
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a6256c;
/* rgb */ color: rgb(166, 37, 108);
/* oklch */ color: oklch(49.5% 0.176 352.1);
Tailwind
colors: {
  custom: {
    50: '#c56d96',
    500: '#a6256c',
    950: '#000000',
  },
}
SCSS
$custom: #a6256c;
$custom-light: #c56d96;
$custom-dark: #000000;
JSON
{
  "hex": "#a6256c",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 326.977,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49528,
    "c": 0.17601,
    "h": 352.1
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#A6256C
secondary
#64C38F
accent
#E78C41
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #A6256C

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

Preview Lab → · Contrast checker → · Palette generator →

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