#A8396F#A8396F

#A8396F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.9% C 0.155 H 353.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A8396F
RGBrgb(168, 57, 111)
HSLhsl(331, 49%, 44%)
HSVhsv(331, 66%, 66%)
CMYKcmyk(0%, 66.1%, 33.9%, 34.1%)
CIE-LABlab(41.85, 50.43, -6.57)
CIE-LCHlch(41.85, 50.85, 352.58°)
OKLaboklab(51.9% 0.154 -0.0167)
OKLCHoklch(51.9% 0.155 353.8)
XYZxyz(20.4819, 12.4010, 16.3509)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8396F #39A872
analogous
#A839A7 #A8396F #A83B39
triadic
#A8396F #6FA839 #396FA8
tetradic
#A8396F #A7A839 #39A872 #3B39A8
square
#A8396F #A7A839 #39A872 #3B39A8
split-complementary
#A8396F #39A83B #39A7A8
monochromatic
#4D1A33 #7A2951 #A8396F #C6588E #D686AD

Accessibility & contrast

On white

6.03
#A8396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A8396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8396F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8396F#FFFFFF#000000##FFFFFF
##A8396F1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5671
Deuteranopia (green-blind)
#6A6A6C
Tritanopia (blue-blind)
#B5314F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a8396f;
/* rgb */ color: rgb(168, 57, 111);
/* oklch */ color: oklch(51.9% 0.155 353.8);
Tailwind
colors: {
  custom: {
    50: '#c67798',
    500: '#a8396f',
    950: '#000000',
  },
}
SCSS
$custom: #a8396f;
$custom-light: #c67798;
$custom-dark: #000000;
JSON
{
  "hex": "#a8396f",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 330.811,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.15489,
    "h": 353.8
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#A8396F
secondary
#7DC09F
accent
#D9964F
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13090D
muted
#827B7E

Preview Lab

Preview with #A8396F

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

Preview Lab → · Contrast checker → · Palette generator →

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