#A7338A#A7338A

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

Color values

HEX#A7338A
RGBrgb(167, 51, 138)
HSLhsl(315, 53%, 43%)
HSVhsv(315, 69%, 65%)
CMYKcmyk(0%, 69.5%, 17.4%, 34.5%)
CIE-LABlab(41.88, 56.17, -23.16)
CIE-LCHlch(41.88, 60.75, 337.59°)
OKLaboklab(52.24% 0.1668 -0.0625)
OKLCHoklch(52.24% 0.178 339.4)
XYZxyz(21.7081, 12.4201, 25.2939)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7338A #33A750
analogous
#8A33A7 #A7338A #A73350
triadic
#A7338A #8AA733 #338AA7
tetradic
#A7338A #A78A33 #33A750 #3350A7
square
#A7338A #A78A33 #33A750 #3350A7
split-complementary
#A7338A #50A733 #33A78A
monochromatic
#49163D #782563 #A7338A #C94EAA #D77DC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7338A#FFFFFF#000000##FFFFFF
##A7338A1.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)
#3A578C
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#B1375A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a7338a;
/* rgb */ color: rgb(167, 51, 138);
/* oklch */ color: oklch(52.2% 0.178 339.4);
Tailwind
colors: {
  custom: {
    50: '#c574ac',
    500: '#a7338a',
    950: '#000000',
  },
}
SCSS
$custom: #a7338a;
$custom-light: #c574ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a7338a",
  "rgb": {
    "r": 167,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 315,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.17812,
    "h": 339.4
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#A7338A
secondary
#76C088
accent
#DD704B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A7338A

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

Preview Lab → · Contrast checker → · Palette generator →

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