#A8245C#A8245C

#A8245C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.172 H 0.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A8245C
RGBrgb(168, 36, 92)
HSLhsl(335, 65%, 40%)
HSVhsv(335, 79%, 66%)
CMYKcmyk(0%, 78.6%, 45.2%, 34.1%)
CIE-LABlab(38.48, 56.03, 0.40)
CIE-LCHlch(38.48, 56.03, 0.41°)
OKLaboklab(49.23% 0.1721 0.0017)
OKLCHoklch(49.23% 0.172 0.6)
XYZxyz(18.7126, 10.3618, 11.1378)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8245C #24A870
analogous
#A8249E #A8245C #A82E24
triadic
#A8245C #5CA824 #245CA8
tetradic
#A8245C #9EA824 #24A870 #2E24A8
square
#A8245C #9EA824 #24A870 #2E24A8
split-complementary
#A8245C #24A82E #249EA8
monochromatic
#430E25 #761940 #A8245C #D43579 #DF689A

Accessibility & contrast

On white

6.84
#A8245C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A8245C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8245C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8245C#FFFFFF#000000##FFFFFF
##A8245C1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5D
Deuteranopia (green-blind)
#676459
Tritanopia (blue-blind)
#B7053D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a8245c;
/* rgb */ color: rgb(168, 36, 92);
/* oklch */ color: oklch(49.2% 0.172 0.6);
Tailwind
colors: {
  custom: {
    50: '#c76d8a',
    500: '#a8245c',
    950: '#000000',
  },
}
SCSS
$custom: #a8245c;
$custom-light: #c76d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8245c",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 92
  },
  "hsl": {
    "h": 334.545,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.49225,
    "c": 0.17211,
    "h": 0.6
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#A8245C
secondary
#63C49B
accent
#E8A140
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A8245C

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

Preview Lab → · Contrast checker → · Palette generator →

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