#A5245D#A5245D

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

Color values

HEX#A5245D
RGBrgb(165, 36, 93)
HSLhsl(333, 64%, 39%)
HSVhsv(333, 78%, 65%)
CMYKcmyk(0%, 78.2%, 43.6%, 35.3%)
CIE-LABlab(37.94, 55.30, -1.10)
CIE-LCHlch(37.94, 55.31, 358.86°)
OKLaboklab(48.73% 0.17 -0.0022)
OKLCHoklch(48.73% 0.17 359.2)
XYZxyz(18.1251, 10.0538, 11.3399)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5245D #24A56C
analogous
#A5249E #A5245D #A52B24
triadic
#A5245D #5DA524 #245DA5
tetradic
#A5245D #9EA524 #24A56C #2B24A5
square
#A5245D #9EA524 #24A56C #2B24A5
split-complementary
#A5245D #24A52B #249EA5
monochromatic
#410E24 #731941 #A5245D #D3347A #DE669B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5245D#FFFFFF#000000##FFFFFF
##A5245D1.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)
#414A5E
Deuteranopia (green-blind)
#64625A
Tritanopia (blue-blind)
#B30A3D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5245d;
/* rgb */ color: rgb(165, 36, 93);
/* oklch */ color: oklch(48.7% 0.170 359.2);
Tailwind
colors: {
  custom: {
    50: '#c56c8a',
    500: '#a5245d',
    950: '#000000',
  },
}
SCSS
$custom: #a5245d;
$custom-light: #c56c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5245d",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 333.488,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4873,
    "c": 0.16996,
    "h": 359.2
  },
  "luminance": 0.10051
}

Semantic roles & 50–950 ramp

primary
#A5245D
secondary
#62C398
accent
#E79E41
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5245D

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

Preview Lab → · Contrast checker → · Palette generator →

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