#A6256B#A6256B

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

Color values

HEX#A6256B
RGBrgb(166, 37, 107)
HSLhsl(327, 64%, 40%)
HSVhsv(327, 78%, 65%)
CMYKcmyk(0%, 77.7%, 35.5%, 34.9%)
CIE-LABlab(38.71, 56.73, -8.80)
CIE-LCHlch(38.71, 57.41, 351.19°)
OKLaboklab(49.49% 0.1741 -0.0226)
OKLCHoklch(49.49% 0.176 352.6)
XYZxyz(19.0425, 10.4940, 14.9298)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6256B #25A660
analogous
#A125A6 #A6256B #A6252A
triadic
#A6256B #6BA625 #256BA6
tetradic
#A6256B #A6A125 #25A660 #252AA6
square
#A6256B #A6A125 #25A660 #252AA6
split-complementary
#A6256B #2AA625 #25A6A1
monochromatic
#420F2A #741A4B #A6256B #D2368B #DD68A8

Accessibility & contrast

On white

6.78
#A6256B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6256B
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6256B#FFFFFF#000000##FFFFFF
##A6256B1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4C6D
Deuteranopia (green-blind)
#626468
Tritanopia (blue-blind)
#B31845
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a6256b;
/* rgb */ color: rgb(166, 37, 107);
/* oklch */ color: oklch(49.5% 0.176 352.6);
Tailwind
colors: {
  custom: {
    50: '#c56d95',
    500: '#a6256b',
    950: '#000000',
  },
}
SCSS
$custom: #a6256b;
$custom-light: #c56d95;
$custom-dark: #000000;
JSON
{
  "hex": "#a6256b",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 327.442,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49489,
    "c": 0.17553,
    "h": 352.6
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6256B

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

Preview Lab → · Contrast checker → · Palette generator →

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