#A2337D#A2337D

#A2337D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.166 H 343.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A2337D
RGBrgb(162, 51, 125)
HSLhsl(320, 52%, 42%)
HSVhsv(320, 69%, 64%)
CMYKcmyk(0%, 68.5%, 22.8%, 36.5%)
CIE-LABlab(40.46, 52.96, -17.43)
CIE-LCHlch(40.46, 55.76, 341.78°)
OKLaboklab(50.86% 0.1593 -0.0465)
OKLCHoklch(50.86% 0.166 343.7)
XYZxyz(19.7865, 11.5317, 20.5818)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2337D #33A258
analogous
#9033A2 #A2337D #A23346
triadic
#A2337D #7DA233 #337DA2
tetradic
#A2337D #A29033 #33A258 #3346A2
square
#A2337D #A29033 #33A258 #3346A2
split-complementary
#A2337D #46A233 #33A290
monochromatic
#451635 #732459 #A2337D #C74C9E #D57AB7

Accessibility & contrast

On white

6.35
#A2337D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A2337D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2337D
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2337D#FFFFFF#000000##FFFFFF
##A2337D1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E547F
Deuteranopia (green-blind)
#5F667A
Tritanopia (blue-blind)
#AC3353
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2337d;
/* rgb */ color: rgb(162, 51, 125);
/* oklch */ color: oklch(50.9% 0.166 343.7);
Tailwind
colors: {
  custom: {
    50: '#c173a2',
    500: '#a2337d',
    950: '#000000',
  },
}
SCSS
$custom: #a2337d;
$custom-light: #c173a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2337d",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 320,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50862,
    "c": 0.16596,
    "h": 343.7
  },
  "luminance": 0.1153
}

Semantic roles & 50–950 ramp

primary
#A2337D
secondary
#73BE8C
accent
#DC7C4C
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A2337D

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

Preview Lab → · Contrast checker → · Palette generator →

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