#A8254C#A8254C

#A8254C is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.8% C 0.167 H 8.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A8254C
RGBrgb(168, 37, 76)
HSLhsl(342, 64%, 40%)
HSVhsv(342, 78%, 66%)
CMYKcmyk(0%, 78%, 54.8%, 34.1%)
CIE-LABlab(38.15, 54.34, 10.14)
CIE-LCHlch(38.15, 55.28, 10.57°)
OKLaboklab(48.84% 0.1652 0.0258)
OKLCHoklch(48.84% 0.167 8.9)
XYZxyz(18.1162, 10.1724, 7.8456)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8254C #25A881
analogous
#A8258E #A8254C #A83F25
triadic
#A8254C #4CA825 #254CA8
tetradic
#A8254C #8EA825 #25A881 #3F25A8
square
#A8254C #8EA825 #25A881 #3F25A8
split-complementary
#A8254C #25A83F #258EA8
monochromatic
#440F1F #761A35 #A8254C #D33766 #DE698C

Accessibility & contrast

On white

6.92
#A8254C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A8254C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8254C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8254C#FFFFFF#000000##FFFFFF
##A8254C1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494D
Deuteranopia (green-blind)
#6A6349
Tritanopia (blue-blind)
#B80036
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a8254c;
/* rgb */ color: rgb(168, 37, 76);
/* oklch */ color: oklch(48.8% 0.167 8.9);
Tailwind
colors: {
  custom: {
    50: '#c86c7d',
    500: '#a8254c',
    950: '#000000',
  },
}
SCSS
$custom: #a8254c;
$custom-light: #c86c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8254c",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 342.137,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.16723,
    "h": 8.9
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#A8254C
secondary
#65C4A8
accent
#E7B541
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140809
muted
#837A7B

Preview Lab

Preview with #A8254C

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

Preview Lab → · Contrast checker → · Palette generator →

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