#A8238A#A8238A

#A8238A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.197 H 339.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A8238A
RGBrgb(168, 35, 138)
HSLhsl(314, 66%, 40%)
HSVhsv(314, 79%, 66%)
CMYKcmyk(0%, 79.2%, 17.9%, 34.1%)
CIE-LABlab(40.19, 61.70, -25.77)
CIE-LCHlch(40.19, 66.86, 337.33°)
OKLaboklab(51.05% 0.1837 -0.0698)
OKLCHoklch(51.05% 0.197 339.2)
XYZxyz(21.3375, 11.3640, 25.1096)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8238A #23A841
analogous
#8423A8 #A8238A #A82347
triadic
#A8238A #8AA823 #238AA8
tetradic
#A8238A #A88423 #23A841 #2347A8
square
#A8238A #A88423 #23A841 #2347A8
split-complementary
#A8238A #47A823 #23A884
monochromatic
#430E37 #751860 #A8238A #D534B0 #DF66C4

Accessibility & contrast

On white

6.42
#A8238A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A8238A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8238A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8238A#FFFFFF#000000##FFFFFF
##A8238A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#B22955
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a8238a;
/* rgb */ color: rgb(168, 35, 138);
/* oklch */ color: oklch(51.1% 0.197 339.2);
Tailwind
colors: {
  custom: {
    50: '#c66eac',
    500: '#a8238a',
    950: '#000000',
  },
}
SCSS
$custom: #a8238a;
$custom-light: #c66eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a8238a",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 313.534,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51051,
    "c": 0.19654,
    "h": 339.2
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#A8238A
secondary
#62C578
accent
#E8653F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8238A

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

Preview Lab → · Contrast checker → · Palette generator →

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