#A5245B#A5245B

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

Color values

HEX#A5245B
RGBrgb(165, 36, 91)
HSLhsl(334, 64%, 39%)
HSVhsv(334, 78%, 65%)
CMYKcmyk(0%, 78.2%, 44.8%, 35.3%)
CIE-LABlab(37.88, 55.11, 0.08)
CIE-LCHlch(37.88, 55.11, 0.09°)
OKLaboklab(48.66% 0.1693 0.0008)
OKLCHoklch(48.66% 0.169 0.3)
XYZxyz(18.0377, 10.0188, 10.8795)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5245B #24A56E
analogous
#A5249B #A5245B #A52E24
triadic
#A5245B #5BA524 #245BA5
tetradic
#A5245B #9BA524 #24A56E #2E24A5
square
#A5245B #9BA524 #24A56E #2E24A5
split-complementary
#A5245B #24A52E #249BA5
monochromatic
#410E24 #73193F #A5245B #D33477 #DE6699

Accessibility & contrast

On white

6.99
#A5245B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5245B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5245B#FFFFFF#000000##FFFFFF
##A5245B1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42495C
Deuteranopia (green-blind)
#656258
Tritanopia (blue-blind)
#B3083C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a5245b;
/* rgb */ color: rgb(165, 36, 91);
/* oklch */ color: oklch(48.7% 0.169 0.3);
Tailwind
colors: {
  custom: {
    50: '#c56c89',
    500: '#a5245b',
    950: '#000000',
  },
}
SCSS
$custom: #a5245b;
$custom-light: #c56c89;
$custom-dark: #000000;
JSON
{
  "hex": "#a5245b",
  "rgb": {
    "r": 165,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 334.419,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48664,
    "c": 0.16927,
    "h": 0.3
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#A5245B
secondary
#62C39A
accent
#E7A041
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A5245B

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

Preview Lab → · Contrast checker → · Palette generator →

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