#A7338E#A7338E

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

Color values

HEX#A7338E
RGBrgb(167, 51, 142)
HSLhsl(313, 53%, 43%)
HSVhsv(313, 69%, 65%)
CMYKcmyk(0%, 69.5%, 15%, 34.5%)
CIE-LABlab(42.06, 56.76, -25.31)
CIE-LCHlch(42.06, 62.14, 335.96°)
OKLaboklab(52.43% 0.1674 -0.0686)
OKLCHoklch(52.43% 0.181 337.7)
XYZxyz(22.0031, 12.5381, 26.8472)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7338E #33A74C
analogous
#8633A7 #A7338E #A73354
triadic
#A7338E #8EA733 #338EA7
tetradic
#A7338E #A78633 #33A74C #3354A7
square
#A7338E #A78633 #33A74C #3354A7
split-complementary
#A7338E #54A733 #33A786
monochromatic
#49163E #782566 #A7338E #C94EAF #D77DC4

Accessibility & contrast

On white

5.99
#A7338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7338E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7338E#FFFFFF#000000##FFFFFF
##A7338E1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7338e;
/* rgb */ color: rgb(167, 51, 142);
/* oklch */ color: oklch(52.4% 0.181 337.7);
Tailwind
colors: {
  custom: {
    50: '#c574af',
    500: '#a7338e',
    950: '#000000',
  },
}
SCSS
$custom: #a7338e;
$custom-light: #c574af;
$custom-dark: #000000;
JSON
{
  "hex": "#a7338e",
  "rgb": {
    "r": 167,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 312.931,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.18092,
    "h": 337.7
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7338E

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

Preview Lab → · Contrast checker → · Palette generator →

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