#A8254F#A8254F

#A8254F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.9% C 0.168 H 7.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#A8254F
RGBrgb(168, 37, 79)
HSLhsl(341, 64%, 40%)
HSVhsv(341, 78%, 66%)
CMYKcmyk(0%, 78%, 53%, 34.1%)
CIE-LABlab(38.23, 54.58, 8.33)
CIE-LCHlch(38.23, 55.21, 8.67°)
OKLaboklab(48.92% 0.1664 0.0215)
OKLCHoklch(48.92% 0.168 7.3)
XYZxyz(18.2230, 10.2151, 8.4078)
Luminance0.1021 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8254F #25A87E
analogous
#A82591 #A8254F #A83C25
triadic
#A8254F #4FA825 #254FA8
tetradic
#A8254F #91A825 #25A87E #3C25A8
square
#A8254F #91A825 #25A87E #3C25A8
split-complementary
#A8254F #25A83C #2591A8
monochromatic
#440F20 #761A37 #A8254F #D33769 #DE698F

Accessibility & contrast

On white

6.90
#A8254F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A8254F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8254F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8254F#FFFFFF#000000##FFFFFF
##A8254F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474950
Deuteranopia (green-blind)
#69634C
Tritanopia (blue-blind)
#B70037
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a8254f;
/* rgb */ color: rgb(168, 37, 79);
/* oklch */ color: oklch(48.9% 0.168 7.3);
Tailwind
colors: {
  custom: {
    50: '#c86d80',
    500: '#a8254f',
    950: '#000000',
  },
}
SCSS
$custom: #a8254f;
$custom-light: #c86d80;
$custom-dark: #000000;
JSON
{
  "hex": "#a8254f",
  "rgb": {
    "r": 168,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 340.763,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48915,
    "c": 0.16777,
    "h": 7.3
  },
  "luminance": 0.10212
}

Semantic roles & 50–950 ramp

primary
#A8254F
secondary
#65C4A6
accent
#E7B241
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #A8254F

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

Preview Lab → · Contrast checker → · Palette generator →

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