#A7338B#A7338B

#A7338B is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.179 H 339.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A7338B
RGBrgb(167, 51, 139)
HSLhsl(314, 53%, 43%)
HSVhsv(314, 69%, 65%)
CMYKcmyk(0%, 69.5%, 16.8%, 34.5%)
CIE-LABlab(41.92, 56.31, -23.70)
CIE-LCHlch(41.92, 61.10, 337.18°)
OKLaboklab(52.29% 0.1669 -0.0641)
OKLCHoklch(52.29% 0.179 339)
XYZxyz(21.7809, 12.4492, 25.6769)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7338B #33A74F
analogous
#8933A7 #A7338B #A73351
triadic
#A7338B #8BA733 #338BA7
tetradic
#A7338B #A78933 #33A74F #3351A7
square
#A7338B #A78933 #33A74F #3351A7
split-complementary
#A7338B #51A733 #33A789
monochromatic
#49163D #782564 #A7338B #C94EAB #D77DC2

Accessibility & contrast

On white

6.02
#A7338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A7338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7338B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7338B#FFFFFF#000000##FFFFFF
##A7338B1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578E
Deuteranopia (green-blind)
#5E6A88
Tritanopia (blue-blind)
#B0375A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a7338b;
/* rgb */ color: rgb(167, 51, 139);
/* oklch */ color: oklch(52.3% 0.179 339.0);
Tailwind
colors: {
  custom: {
    50: '#c574ad',
    500: '#a7338b',
    950: '#000000',
  },
}
SCSS
$custom: #a7338b;
$custom-light: #c574ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a7338b",
  "rgb": {
    "r": 167,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 314.483,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52289,
    "c": 0.17881,
    "h": 339
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7338B

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

Preview Lab → · Contrast checker → · Palette generator →

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