#A6254D#A6254D

#A6254D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.166 H 8.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A6254D
RGBrgb(166, 37, 77)
HSLhsl(341, 64%, 40%)
HSVhsv(341, 78%, 65%)
CMYKcmyk(0%, 77.7%, 53.6%, 34.9%)
CIE-LABlab(37.79, 53.85, 8.93)
CIE-LCHlch(37.79, 54.58, 9.42°)
OKLaboklab(48.5% 0.164 0.0229)
OKLCHoklch(48.5% 0.166 8)
XYZxyz(17.7287, 9.9685, 8.0103)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6254D #25A67E
analogous
#A6258E #A6254D #A63D25
triadic
#A6254D #4DA625 #254DA6
tetradic
#A6254D #8EA625 #25A67E #3D25A6
square
#A6254D #8EA625 #25A67E #3D25A6
split-complementary
#A6254D #25A63D #258EA6
monochromatic
#420F1F #741A36 #A6254D #D23666 #DD688C

Accessibility & contrast

On white

7.02
#A6254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#A6254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A6254D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6254D#FFFFFF#000000##FFFFFF
##A6254D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484E
Deuteranopia (green-blind)
#68624A
Tritanopia (blue-blind)
#B50036
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a6254d;
/* rgb */ color: rgb(166, 37, 77);
/* oklch */ color: oklch(48.5% 0.166 8.0);
Tailwind
colors: {
  custom: {
    50: '#c76c7e',
    500: '#a6254d',
    950: '#000000',
  },
}
SCSS
$custom: #a6254d;
$custom-light: #c76c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6254d",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 341.395,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48504,
    "c": 0.16557,
    "h": 8
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#A6254D
secondary
#64C3A6
accent
#E7B341
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B

Preview Lab

Preview with #A6254D

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

Preview Lab → · Contrast checker → · Palette generator →

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