#A6255A#A6255A

#A6255A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.169 H 1.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A6255A
RGBrgb(166, 37, 90)
HSLhsl(335, 64%, 40%)
HSVhsv(335, 78%, 65%)
CMYKcmyk(0%, 77.7%, 45.8%, 34.9%)
CIE-LABlab(38.15, 54.98, 1.14)
CIE-LCHlch(38.15, 54.99, 1.19°)
OKLaboklab(48.89% 0.1688 0.0035)
OKLCHoklch(48.89% 0.169 1.2)
XYZxyz(18.2344, 10.1707, 10.6738)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6255A #25A671
analogous
#A6259B #A6255A #A63125
triadic
#A6255A #5AA625 #255AA6
tetradic
#A6255A #9BA625 #25A671 #3125A6
square
#A6255A #9BA625 #25A671 #3125A6
split-complementary
#A6255A #25A631 #259BA6
monochromatic
#420F24 #741A3F #A6255A #D23676 #DD6898

Accessibility & contrast

On white

6.92
#A6255A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A6255A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6255A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6255A#FFFFFF#000000##FFFFFF
##A6255A1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B4083C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6255a;
/* rgb */ color: rgb(166, 37, 90);
/* oklch */ color: oklch(48.9% 0.169 1.2);
Tailwind
colors: {
  custom: {
    50: '#c66d88',
    500: '#a6255a',
    950: '#000000',
  },
}
SCSS
$custom: #a6255a;
$custom-light: #c66d88;
$custom-dark: #000000;
JSON
{
  "hex": "#a6255a",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 335.349,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.16881,
    "h": 1.2
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#A6255A
secondary
#64C39C
accent
#E7A341
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A6255A

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

Preview Lab → · Contrast checker → · Palette generator →

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