#A6255B#A6255B

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

Color values

HEX#A6255B
RGBrgb(166, 37, 91)
HSLhsl(335, 64%, 40%)
HSVhsv(335, 78%, 65%)
CMYKcmyk(0%, 77.7%, 45.2%, 34.9%)
CIE-LABlab(38.18, 55.07, 0.55)
CIE-LCHlch(38.18, 55.08, 0.57°)
OKLaboklab(48.92% 0.1691 0.002)
OKLCHoklch(48.92% 0.169 0.7)
XYZxyz(18.2772, 10.1879, 10.8995)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6255B #25A670
analogous
#A6259B #A6255B #A63025
triadic
#A6255B #5BA625 #255BA6
tetradic
#A6255B #9BA625 #25A670 #3025A6
square
#A6255B #9BA625 #25A670 #3025A6
split-complementary
#A6255B #25A630 #259BA6
monochromatic
#420F24 #741A40 #A6255B #D23677 #DD6899

Accessibility & contrast

On white

6.91
#A6255B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A6255B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A6255B
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6255B#FFFFFF#000000##FFFFFF
##A6255B1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B4093D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6255b;
/* rgb */ color: rgb(166, 37, 91);
/* oklch */ color: oklch(48.9% 0.169 0.7);
Tailwind
colors: {
  custom: {
    50: '#c66d89',
    500: '#a6255b',
    950: '#000000',
  },
}
SCSS
$custom: #a6255b;
$custom-light: #c66d89;
$custom-dark: #000000;
JSON
{
  "hex": "#a6255b",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 334.884,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4892,
    "c": 0.16912,
    "h": 0.7
  },
  "luminance": 0.10185
}

Semantic roles & 50–950 ramp

primary
#A6255B
secondary
#64C39B
accent
#E7A141
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A6255B

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

Preview Lab → · Contrast checker → · Palette generator →

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