#A6254A#A6254A

#A6254A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.165 H 9.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#A6254A
RGBrgb(166, 37, 74)
HSLhsl(343, 64%, 40%)
HSVhsv(343, 78%, 65%)
CMYKcmyk(0%, 77.7%, 55.4%, 34.9%)
CIE-LABlab(37.71, 53.61, 10.75)
CIE-LCHlch(37.71, 54.68, 11.34°)
OKLaboklab(48.43% 0.1628 0.0272)
OKLCHoklch(48.43% 0.165 9.5)
XYZxyz(17.6252, 9.9271, 7.4653)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6254A #25A681
analogous
#A6258A #A6254A #A64125
triadic
#A6254A #4AA625 #254AA6
tetradic
#A6254A #8AA625 #25A681 #4125A6
square
#A6254A #8AA625 #25A681 #4125A6
split-complementary
#A6254A #25A641 #258AA6
monochromatic
#420F1D #741A34 #A6254A #D23663 #DD688A

Accessibility & contrast

On white

7.04
#A6254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A6254A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6254A#FFFFFF#000000##FFFFFF
##A6254A1.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47484B
Deuteranopia (green-blind)
#696247
Tritanopia (blue-blind)
#B60035
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a6254a;
/* rgb */ color: rgb(166, 37, 74);
/* oklch */ color: oklch(48.4% 0.165 9.5);
Tailwind
colors: {
  custom: {
    50: '#c76c7c',
    500: '#a6254a',
    950: '#000000',
  },
}
SCSS
$custom: #a6254a;
$custom-light: #c76c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6254a",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 342.791,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48425,
    "c": 0.16508,
    "h": 9.5
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#A6254A
secondary
#64C3A8
accent
#E7B741
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B

Preview Lab

Preview with #A6254A

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

Preview Lab → · Contrast checker → · Palette generator →

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