#A6255E#A6255E

#A6255E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.170 H 359.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A6255E
RGBrgb(166, 37, 94)
HSLhsl(333, 64%, 40%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 77.7%, 43.4%, 34.9%)
CIE-LABlab(38.27, 55.36, -1.23)
CIE-LCHlch(38.27, 55.38, 358.73°)
OKLaboklab(49.02% 0.1701 -0.0026)
OKLCHoklch(49.02% 0.17 359.1)
XYZxyz(18.4092, 10.2407, 11.5947)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6255E #25A66D
analogous
#A6259F #A6255E #A62C25
triadic
#A6255E #5EA625 #255EA6
tetradic
#A6255E #9FA625 #25A66D #2C25A6
square
#A6255E #9FA625 #25A66D #2C25A6
split-complementary
#A6255E #25A62C #259FA6
monochromatic
#420F25 #741A42 #A6255E #D2367B #DD689C

Accessibility & contrast

On white

6.89
#A6255E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A6255E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6255E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6255E#FFFFFF#000000##FFFFFF
##A6255E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5F
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#B40C3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6255e;
/* rgb */ color: rgb(166, 37, 94);
/* oklch */ color: oklch(49.0% 0.170 359.1);
Tailwind
colors: {
  custom: {
    50: '#c66d8b',
    500: '#a6255e',
    950: '#000000',
  },
}
SCSS
$custom: #a6255e;
$custom-light: #c66d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a6255e",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 333.488,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49019,
    "c": 0.17015,
    "h": 359.1
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#A6255E
secondary
#64C399
accent
#E79E41
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A6255E

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

Preview Lab → · Contrast checker → · Palette generator →

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