#A5245A#A5245A

#A5245A is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.169 H 0.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#A5245A
RGBrgb(165, 36, 90)
HSLhsl(335, 64%, 39%)
HSVhsv(335, 78%, 65%)
CMYKcmyk(0%, 78.2%, 45.5%, 35.3%)
CIE-LABlab(37.85, 55.01, 0.68)
CIE-LCHlch(37.85, 55.02, 0.70°)
OKLaboklab(48.63% 0.1689 0.0024)
OKLCHoklch(48.63% 0.169 0.8)
XYZxyz(17.9948, 10.0017, 10.6538)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5245A #24A56F
analogous
#A5249B #A5245A #A52F24
triadic
#A5245A #5AA524 #245AA5
tetradic
#A5245A #9BA524 #24A56F #2F24A5
square
#A5245A #9BA524 #24A56F #2F24A5
split-complementary
#A5245A #24A52F #249BA5
monochromatic
#410E23 #73193F #A5245A #D33476 #DE6698

Accessibility & contrast

On white

7.00
#A5245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#A5245A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5245A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5245A#FFFFFF#000000##FFFFFF
##A5245A1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42495B
Deuteranopia (green-blind)
#656257
Tritanopia (blue-blind)
#B3073C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5245a;
/* rgb */ color: rgb(165, 36, 90);
/* oklch */ color: oklch(48.6% 0.169 0.8);
Tailwind
colors: {
  custom: {
    50: '#c56c88',
    500: '#a5245a',
    950: '#000000',
  },
}
SCSS
$custom: #a5245a;
$custom-light: #c56c88;
$custom-dark: #000000;
JSON
{
  "hex": "#a5245a",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 334.884,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.16895,
    "h": 0.8
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#A5245A
secondary
#62C39A
accent
#E7A141
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5245A

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

Preview Lab → · Contrast checker → · Palette generator →

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