#A6255C#A6255C

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

Color values

HEX#A6255C
RGBrgb(166, 37, 92)
HSLhsl(334, 64%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 77.7%, 44.6%, 34.9%)
CIE-LABlab(38.21, 55.17, -0.05)
CIE-LCHlch(38.21, 55.17, 359.95°)
OKLaboklab(48.95% 0.1695 0.0005)
OKLCHoklch(48.95% 0.169 0.2)
XYZxyz(18.3207, 10.2053, 11.1282)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6255C #25A66F
analogous
#A6259C #A6255C #A62F25
triadic
#A6255C #5CA625 #255CA6
tetradic
#A6255C #9CA625 #25A66F #2F25A6
square
#A6255C #9CA625 #25A66F #2F25A6
split-complementary
#A6255C #25A62F #259CA6
monochromatic
#420F25 #741A40 #A6255C #D23679 #DD689A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6255C#FFFFFF#000000##FFFFFF
##A6255C1.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)
#434A5D
Deuteranopia (green-blind)
#666359
Tritanopia (blue-blind)
#B40A3D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6255c;
/* rgb */ color: rgb(166, 37, 92);
/* oklch */ color: oklch(49.0% 0.169 0.2);
Tailwind
colors: {
  custom: {
    50: '#c66d8a',
    500: '#a6255c',
    950: '#000000',
  },
}
SCSS
$custom: #a6255c;
$custom-light: #c66d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6255c",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 334.419,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.16946,
    "h": 0.2
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#A6255C
secondary
#64C39A
accent
#E7A041
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A6255C

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

Preview Lab → · Contrast checker → · Palette generator →

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