#A5245E#A5245E

#A5245E is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.170 H 358.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A5245E
RGBrgb(165, 36, 94)
HSLhsl(333, 64%, 39%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 78.2%, 43%, 35.3%)
CIE-LABlab(37.97, 55.40, -1.69)
CIE-LCHlch(37.97, 55.43, 358.25°)
OKLaboklab(48.76% 0.1703 -0.0038)
OKLCHoklch(48.76% 0.17 358.7)
XYZxyz(18.1697, 10.0716, 11.5747)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5245E #24A56B
analogous
#A5249F #A5245E #A52A24
triadic
#A5245E #5EA524 #245EA5
tetradic
#A5245E #9FA524 #24A56B #2A24A5
square
#A5245E #9FA524 #24A56B #2A24A5
split-complementary
#A5245E #24A52A #249FA5
monochromatic
#410E25 #731941 #A5245E #D3347B #DE669C

Accessibility & contrast

On white

6.97
#A5245E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A5245E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5245E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5245E#FFFFFF#000000##FFFFFF
##A5245E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414A5F
Deuteranopia (green-blind)
#64625B
Tritanopia (blue-blind)
#B30B3E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5245e;
/* rgb */ color: rgb(165, 36, 94);
/* oklch */ color: oklch(48.8% 0.170 358.7);
Tailwind
colors: {
  custom: {
    50: '#c56c8b',
    500: '#a5245e',
    950: '#000000',
  },
}
SCSS
$custom: #a5245e;
$custom-light: #c56c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5245e",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 333.023,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.17032,
    "h": 358.7
  },
  "luminance": 0.10069
}

Semantic roles & 50–950 ramp

primary
#A5245E
secondary
#62C397
accent
#E79C41
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080C
muted
#827A7D

Preview Lab

Preview with #A5245E

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

Preview Lab → · Contrast checker → · Palette generator →

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