#A7338D#A7338D

#A7338D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.180 H 338.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A7338D
RGBrgb(167, 51, 141)
HSLhsl(313, 53%, 43%)
HSVhsv(313, 69%, 65%)
CMYKcmyk(0%, 69.5%, 15.6%, 34.5%)
CIE-LABlab(42.01, 56.61, -24.78)
CIE-LCHlch(42.01, 61.79, 336.36°)
OKLaboklab(52.39% 0.1672 -0.0671)
OKLCHoklch(52.39% 0.18 338.1)
XYZxyz(21.9283, 12.5082, 26.4536)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7338D #33A74D
analogous
#8733A7 #A7338D #A73353
triadic
#A7338D #8DA733 #338DA7
tetradic
#A7338D #A78733 #33A74D #3353A7
square
#A7338D #A78733 #33A74D #3353A7
split-complementary
#A7338D #53A733 #33A787
monochromatic
#49163E #782565 #A7338D #C94EAD #D77DC3

Accessibility & contrast

On white

6.00
#A7338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A7338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7338D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7338D#FFFFFF#000000##FFFFFF
##A7338D1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385890
Deuteranopia (green-blind)
#5D6A8A
Tritanopia (blue-blind)
#B0385B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a7338d;
/* rgb */ color: rgb(167, 51, 141);
/* oklch */ color: oklch(52.4% 0.180 338.1);
Tailwind
colors: {
  custom: {
    50: '#c574ae',
    500: '#a7338d',
    950: '#000000',
  },
}
SCSS
$custom: #a7338d;
$custom-light: #c574ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7338d",
  "rgb": {
    "r": 167,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 313.448,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.18021,
    "h": 338.1
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#A7338D
secondary
#76C086
accent
#DD6C4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A7338D

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

Preview Lab → · Contrast checker → · Palette generator →

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