#A6255D#A6255D

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

Color values

HEX#A6255D
RGBrgb(166, 37, 93)
HSLhsl(334, 64%, 40%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 77.7%, 44%, 34.9%)
CIE-LABlab(38.24, 55.27, -0.64)
CIE-LCHlch(38.24, 55.27, 359.34°)
OKLaboklab(48.99% 0.1698 -0.001)
OKLCHoklch(48.99% 0.17 359.7)
XYZxyz(18.3647, 10.2229, 11.3600)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6255D #25A66E
analogous
#A6259E #A6255D #A62D25
triadic
#A6255D #5DA625 #255DA6
tetradic
#A6255D #9EA625 #25A66E #2D25A6
square
#A6255D #9EA625 #25A66E #2D25A6
split-complementary
#A6255D #25A62D #259EA6
monochromatic
#420F25 #741A41 #A6255D #D2367A #DD689B

Accessibility & contrast

On white

6.90
#A6255D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A6255D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6255D#FFFFFF#000000##FFFFFF
##A6255D1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5E
Deuteranopia (green-blind)
#65635A
Tritanopia (blue-blind)
#B40B3E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a6255d;
/* rgb */ color: rgb(166, 37, 93);
/* oklch */ color: oklch(49.0% 0.170 359.7);
Tailwind
colors: {
  custom: {
    50: '#c66d8a',
    500: '#a6255d',
    950: '#000000',
  },
}
SCSS
$custom: #a6255d;
$custom-light: #c66d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6255d",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 333.953,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48986,
    "c": 0.16979,
    "h": 359.7
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6255D

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

Preview Lab → · Contrast checker → · Palette generator →

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