#A8348B#A8348B

#A8348B is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.178 H 339.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A8348B
RGBrgb(168, 52, 139)
HSLhsl(315, 53%, 43%)
HSVhsv(315, 69%, 66%)
CMYKcmyk(0%, 69%, 17.3%, 34.1%)
CIE-LABlab(42.23, 56.19, -23.21)
CIE-LCHlch(42.23, 60.80, 337.55°)
OKLaboklab(52.54% 0.1668 -0.0627)
OKLCHoklch(52.54% 0.178 339.4)
XYZxyz(22.0372, 12.6469, 25.7016)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8348B #34A851
analogous
#8B34A8 #A8348B #A83451
triadic
#A8348B #8BA834 #348BA8
tetradic
#A8348B #A88B34 #34A851 #3451A8
square
#A8348B #A88B34 #34A851 #3451A8
split-complementary
#A8348B #51A834 #34A88B
monochromatic
#4B173E #792664 #A8348B #C950AB #D77FC1

Accessibility & contrast

On white

5.95
#A8348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A8348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8348B
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8348B#FFFFFF#000000##FFFFFF
##A8348B1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588E
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#B2385B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a8348b;
/* rgb */ color: rgb(168, 52, 139);
/* oklch */ color: oklch(52.5% 0.178 339.4);
Tailwind
colors: {
  custom: {
    50: '#c575ad',
    500: '#a8348b',
    950: '#000000',
  },
}
SCSS
$custom: #a8348b;
$custom-light: #c575ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a8348b",
  "rgb": {
    "r": 168,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 315,
    "s": 52.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.1782,
    "h": 339.4
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#A8348B
secondary
#77C08A
accent
#DC704C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A8348B

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

Preview Lab → · Contrast checker → · Palette generator →

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