#A7338F#A7338F

#A7338F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.182 H 337.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A7338F
RGBrgb(167, 51, 143)
HSLhsl(312, 53%, 43%)
HSVhsv(312, 69%, 65%)
CMYKcmyk(0%, 69.5%, 14.4%, 34.5%)
CIE-LABlab(42.11, 56.91, -25.85)
CIE-LCHlch(42.11, 62.50, 335.57°)
OKLaboklab(52.48% 0.1675 -0.0702)
OKLCHoklch(52.48% 0.182 337.3)
XYZxyz(22.0785, 12.5683, 27.2444)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7338F #33A74B
analogous
#8533A7 #A7338F #A73355
triadic
#A7338F #8FA733 #338FA7
tetradic
#A7338F #A78533 #33A74B #3355A7
square
#A7338F #A78533 #33A74B #3355A7
split-complementary
#A7338F #55A733 #33A785
monochromatic
#49163F #782567 #A7338F #C94EB0 #D77DC5

Accessibility & contrast

On white

5.98
#A7338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A7338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7338F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7338F#FFFFFF#000000##FFFFFF
##A7338F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365892
Deuteranopia (green-blind)
#5C6A8C
Tritanopia (blue-blind)
#B0395C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a7338f;
/* rgb */ color: rgb(167, 51, 143);
/* oklch */ color: oklch(52.5% 0.182 337.3);
Tailwind
colors: {
  custom: {
    50: '#c575b0',
    500: '#a7338f',
    950: '#000000',
  },
}
SCSS
$custom: #a7338f;
$custom-light: #c575b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7338f",
  "rgb": {
    "r": 167,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 312.414,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.18162,
    "h": 337.3
  },
  "luminance": 0.12566
}

Semantic roles & 50–950 ramp

primary
#A7338F
secondary
#76C085
accent
#DD694B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A7338F

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

Preview Lab → · Contrast checker → · Palette generator →

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