#A2337B#A2337B

#A2337B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.165 H 344.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A2337B
RGBrgb(162, 51, 123)
HSLhsl(321, 52%, 42%)
HSVhsv(321, 69%, 64%)
CMYKcmyk(0%, 68.5%, 24.1%, 36.5%)
CIE-LABlab(40.38, 52.69, -16.32)
CIE-LCHlch(40.38, 55.16, 342.79°)
OKLaboklab(50.78% 0.1589 -0.0434)
OKLCHoklch(50.78% 0.165 344.7)
XYZxyz(19.6600, 11.4811, 19.9157)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2337B #33A25A
analogous
#9233A2 #A2337B #A23344
triadic
#A2337B #7BA233 #337BA2
tetradic
#A2337B #A29233 #33A25A #3344A2
square
#A2337B #A29233 #33A25A #3344A2
split-complementary
#A2337B #44A233 #33A292
monochromatic
#451634 #732458 #A2337B #C74C9B #D57AB5

Accessibility & contrast

On white

6.37
#A2337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A2337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2337B
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2337B#FFFFFF#000000##FFFFFF
##A2337B1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537D
Deuteranopia (green-blind)
#606678
Tritanopia (blue-blind)
#AD3252
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2337b;
/* rgb */ color: rgb(162, 51, 123);
/* oklch */ color: oklch(50.8% 0.165 344.7);
Tailwind
colors: {
  custom: {
    50: '#c173a1',
    500: '#a2337b',
    950: '#000000',
  },
}
SCSS
$custom: #a2337b;
$custom-light: #c173a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a2337b",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 321.081,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50775,
    "c": 0.16469,
    "h": 344.7
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#A2337B
secondary
#73BE8D
accent
#DC7F4C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A2337B

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

Preview Lab → · Contrast checker → · Palette generator →

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