#A5254E#A5254E

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

Color values

HEX#A5254E
RGBrgb(165, 37, 78)
HSLhsl(341, 63%, 40%)
HSVhsv(341, 78%, 65%)
CMYKcmyk(0%, 77.6%, 52.7%, 35.3%)
CIE-LABlab(37.62, 53.64, 8.03)
CIE-LCHlch(37.62, 54.24, 8.51°)
OKLaboklab(48.35% 0.1635 0.0207)
OKLCHoklch(48.35% 0.165 7.2)
XYZxyz(17.5554, 9.8750, 8.1879)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5254E #25A57C
analogous
#A5258E #A5254E #A53C25
triadic
#A5254E #4EA525 #254EA5
tetradic
#A5254E #8EA525 #25A57C #3C25A5
square
#A5254E #8EA525 #25A57C #3C25A5
split-complementary
#A5254E #25A53C #258EA5
monochromatic
#410F1F #731A36 #A5254E #D23568 #DD678D

Accessibility & contrast

On white

7.06
#A5254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A5254E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5254E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5254E#FFFFFF#000000##FFFFFF
##A5254E1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46484F
Deuteranopia (green-blind)
#67624B
Tritanopia (blue-blind)
#B40037
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a5254e;
/* rgb */ color: rgb(165, 37, 78);
/* oklch */ color: oklch(48.4% 0.165 7.2);
Tailwind
colors: {
  custom: {
    50: '#c66c7f',
    500: '#a5254e',
    950: '#000000',
  },
}
SCSS
$custom: #a5254e;
$custom-light: #c66c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5254e",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 340.781,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48353,
    "c": 0.16485,
    "h": 7.2
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#A5254E
secondary
#63C3A4
accent
#E6B241
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#14080A
muted
#827A7C

Preview Lab

Preview with #A5254E

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

Preview Lab → · Contrast checker → · Palette generator →

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