#A6254C#A6254C

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

Color values

HEX#A6254C
RGBrgb(166, 37, 76)
HSLhsl(342, 64%, 40%)
HSVhsv(342, 78%, 65%)
CMYKcmyk(0%, 77.7%, 54.2%, 34.9%)
CIE-LABlab(37.76, 53.77, 9.54)
CIE-LCHlch(37.76, 54.61, 10.06°)
OKLaboklab(48.48% 0.1636 0.0244)
OKLCHoklch(48.48% 0.165 8.5)
XYZxyz(17.6936, 9.9544, 7.8258)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6254C #25A67F
analogous
#A6258D #A6254C #A63E25
triadic
#A6254C #4CA625 #254CA6
tetradic
#A6254C #8DA625 #25A67F #3E25A6
square
#A6254C #8DA625 #25A67F #3E25A6
split-complementary
#A6254C #25A63E #258DA6
monochromatic
#420F1E #741A35 #A6254C #D23665 #DD688C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6254C#FFFFFF#000000##FFFFFF
##A6254C1.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)
#47484D
Deuteranopia (green-blind)
#686249
Tritanopia (blue-blind)
#B50036
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a6254c;
/* rgb */ color: rgb(166, 37, 76);
/* oklch */ color: oklch(48.5% 0.165 8.5);
Tailwind
colors: {
  custom: {
    50: '#c76c7d',
    500: '#a6254c',
    950: '#000000',
  },
}
SCSS
$custom: #a6254c;
$custom-light: #c76c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6254c",
  "rgb": {
    "r": 166,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 341.86,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48477,
    "c": 0.1654,
    "h": 8.5
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6254C

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

Preview Lab → · Contrast checker → · Palette generator →

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