#A8254B#A8254B

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

Color values

HEX#A8254B
RGBrgb(168, 37, 75)
HSLhsl(343, 64%, 40%)
HSVhsv(343, 78%, 66%)
CMYKcmyk(0%, 78%, 55.4%, 34.1%)
CIE-LABlab(38.13, 54.27, 10.74)
CIE-LCHlch(38.13, 55.32, 11.20°)
OKLaboklab(48.81% 0.1648 0.0272)
OKLCHoklch(48.81% 0.167 9.4)
XYZxyz(18.0817, 10.1586, 7.6639)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8254B #25A882
analogous
#A8258D #A8254B #A84025
triadic
#A8254B #4BA825 #254BA8
tetradic
#A8254B #8DA825 #25A882 #4025A8
square
#A8254B #8DA825 #25A882 #4025A8
split-complementary
#A8254B #25A840 #258DA8
monochromatic
#440F1E #761A35 #A8254B #D33764 #DE698B

Accessibility & contrast

On white

6.93
#A8254B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8254B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8254B#FFFFFF#000000##FFFFFF
##A8254B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48494C
Deuteranopia (green-blind)
#6A6348
Tritanopia (blue-blind)
#B80035
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a8254b;
/* rgb */ color: rgb(168, 37, 75);
/* oklch */ color: oklch(48.8% 0.167 9.4);
Tailwind
colors: {
  custom: {
    50: '#c86c7d',
    500: '#a8254b',
    950: '#000000',
  },
}
SCSS
$custom: #a8254b;
$custom-light: #c86c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8254b",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 342.595,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48809,
    "c": 0.16708,
    "h": 9.4
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8254B

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

Preview Lab → · Contrast checker → · Palette generator →

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