#A5245C#A5245C

#A5245C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.170 H 359.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A5245C
RGBrgb(165, 36, 92)
HSLhsl(334, 64%, 39%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 78.2%, 44.2%, 35.3%)
CIE-LABlab(37.91, 55.20, -0.51)
CIE-LCHlch(37.91, 55.21, 359.47°)
OKLaboklab(48.7% 0.1696 -0.0007)
OKLCHoklch(48.7% 0.17 359.8)
XYZxyz(18.0811, 10.0362, 11.1082)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5245C #24A56D
analogous
#A5249D #A5245C #A52C24
triadic
#A5245C #5CA524 #245CA5
tetradic
#A5245C #9DA524 #24A56D #2C24A5
square
#A5245C #9DA524 #24A56D #2C24A5
split-complementary
#A5245C #24A52C #249DA5
monochromatic
#410E24 #731940 #A5245C #D33479 #DE669A

Accessibility & contrast

On white

6.98
#A5245C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5245C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5245C#FFFFFF#000000##FFFFFF
##A5245C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5D
Deuteranopia (green-blind)
#656259
Tritanopia (blue-blind)
#B3093D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5245c;
/* rgb */ color: rgb(165, 36, 92);
/* oklch */ color: oklch(48.7% 0.170 359.8);
Tailwind
colors: {
  custom: {
    50: '#c56c8a',
    500: '#a5245c',
    950: '#000000',
  },
}
SCSS
$custom: #a5245c;
$custom-light: #c56c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5245c",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 333.953,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48697,
    "c": 0.16961,
    "h": 359.8
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#A5245C
secondary
#62C399
accent
#E79F41
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5245C

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

Preview Lab → · Contrast checker → · Palette generator →

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