#A2337F#A2337F

#A2337F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.167 H 342.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A2337F
RGBrgb(162, 51, 127)
HSLhsl(319, 52%, 42%)
HSVhsv(319, 69%, 64%)
CMYKcmyk(0%, 68.5%, 21.6%, 36.5%)
CIE-LABlab(40.55, 53.24, -18.54)
CIE-LCHlch(40.55, 56.38, 340.80°)
OKLaboklab(50.95% 0.1597 -0.0496)
OKLCHoklch(50.95% 0.167 342.7)
XYZxyz(19.9155, 11.5833, 21.2615)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2337F #33A256
analogous
#8E33A2 #A2337F #A23348
triadic
#A2337F #7FA233 #337FA2
tetradic
#A2337F #A28E33 #33A256 #3348A2
square
#A2337F #A28E33 #33A256 #3348A2
split-complementary
#A2337F #48A233 #33A28E
monochromatic
#451636 #73245B #A2337F #C74CA0 #D57AB9

Accessibility & contrast

On white

6.33
#A2337F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A2337F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2337F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2337F#FFFFFF#000000##FFFFFF
##A2337F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5481
Deuteranopia (green-blind)
#5E667C
Tritanopia (blue-blind)
#AC3454
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2337f;
/* rgb */ color: rgb(162, 51, 127);
/* oklch */ color: oklch(51.0% 0.167 342.7);
Tailwind
colors: {
  custom: {
    50: '#c173a4',
    500: '#a2337f',
    950: '#000000',
  },
}
SCSS
$custom: #a2337f;
$custom-light: #c173a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2337f",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 318.919,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.16724,
    "h": 342.7
  },
  "luminance": 0.11581
}

Semantic roles & 50–950 ramp

primary
#A2337F
secondary
#73BE8B
accent
#DC794C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A2337F

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

Preview Lab → · Contrast checker → · Palette generator →

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