#A8398E#A8398E

#A8398E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.174 H 338.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A8398E
RGBrgb(168, 57, 142)
HSLhsl(314, 49%, 44%)
HSVhsv(314, 66%, 66%)
CMYKcmyk(0%, 66.1%, 15.5%, 34.1%)
CIE-LABlab(43.07, 54.66, -23.72)
CIE-LCHlch(43.07, 59.58, 336.54°)
OKLaboklab(53.2% 0.1614 -0.0642)
OKLCHoklch(53.2% 0.174 338.3)
XYZxyz(22.4945, 13.2061, 26.9503)
Luminance0.1320 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8398E #39A853
analogous
#8B39A8 #A8398E #A83957
triadic
#A8398E #8EA839 #398EA8
tetradic
#A8398E #A88B39 #39A853 #3957A8
square
#A8398E #A88B39 #39A853 #3957A8
split-complementary
#A8398E #57A839 #39A88B
monochromatic
#4D1A41 #7A2967 #A8398E #C658AC #D686C3

Accessibility & contrast

On white

5.77
#A8398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A8398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8398E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8398E#FFFFFF#000000##FFFFFF
##A8398E1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5B91
Deuteranopia (green-blind)
#606C8B
Tritanopia (blue-blind)
#B13D5E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a8398e;
/* rgb */ color: rgb(168, 57, 142);
/* oklch */ color: oklch(53.2% 0.174 338.3);
Tailwind
colors: {
  custom: {
    50: '#c578af',
    500: '#a8398e',
    950: '#000000',
  },
}
SCSS
$custom: #a8398e;
$custom-light: #c578af;
$custom-dark: #000000;
JSON
{
  "hex": "#a8398e",
  "rgb": {
    "r": 168,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 314.054,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.17365,
    "h": 338.3
  },
  "luminance": 0.13204
}

Semantic roles & 50–950 ramp

primary
#A8398E
secondary
#7DC08D
accent
#D96F4F
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A8398E

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

Preview Lab → · Contrast checker → · Palette generator →

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