#A8245B#A8245B

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

Color values

HEX#A8245B
RGBrgb(168, 36, 91)
HSLhsl(335, 65%, 40%)
HSVhsv(335, 79%, 66%)
CMYKcmyk(0%, 78.6%, 45.8%, 34.1%)
CIE-LABlab(38.45, 55.93, 0.99)
CIE-LCHlch(38.45, 55.94, 1.02°)
OKLaboklab(49.19% 0.1718 0.0032)
OKLCHoklch(49.19% 0.172 1.1)
XYZxyz(18.6692, 10.3444, 10.9091)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8245B #24A871
analogous
#A8249D #A8245B #A82F24
triadic
#A8245B #5BA824 #245BA8
tetradic
#A8245B #9DA824 #24A871 #2F24A8
square
#A8245B #9DA824 #24A871 #2F24A8
split-complementary
#A8245B #24A82F #249DA8
monochromatic
#430E24 #761940 #A8245B #D43577 #DF6899

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8245B#FFFFFF#000000##FFFFFF
##A8245B1.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)
#434A5C
Deuteranopia (green-blind)
#676458
Tritanopia (blue-blind)
#B7043C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a8245b;
/* rgb */ color: rgb(168, 36, 91);
/* oklch */ color: oklch(49.2% 0.172 1.1);
Tailwind
colors: {
  custom: {
    50: '#c76d89',
    500: '#a8245b',
    950: '#000000',
  },
}
SCSS
$custom: #a8245b;
$custom-light: #c76d89;
$custom-dark: #000000;
JSON
{
  "hex": "#a8245b",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 335,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.17178,
    "h": 1.1
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#A8245B
secondary
#63C49C
accent
#E8A240
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A8245B

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

Preview Lab → · Contrast checker → · Palette generator →

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