#A2237F#A2237F

#A2237F is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.186 H 341.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A2237F
RGBrgb(162, 35, 127)
HSLhsl(317, 64%, 39%)
HSVhsv(317, 78%, 64%)
CMYKcmyk(0%, 78.4%, 21.6%, 36.5%)
CIE-LABlab(38.58, 58.78, -21.57)
CIE-LCHlch(38.58, 62.62, 339.85°)
OKLaboklab(49.52% 0.1767 -0.058)
OKLCHoklch(49.52% 0.186 341.8)
XYZxyz(19.3328, 10.4178, 21.0673)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2237F #23A246
analogous
#8523A2 #A2237F #A22340
triadic
#A2237F #7FA223 #237FA2
tetradic
#A2237F #A28523 #23A246 #2340A2
square
#A2237F #A28523 #23A246 #2340A2
split-complementary
#A2237F #40A223 #23A285
monochromatic
#3D0D30 #701858 #A2237F #D230A6 #DD62BB

Accessibility & contrast

On white

6.81
#A2237F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A2237F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2237F
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2237F#FFFFFF#000000##FFFFFF
##A2237F1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#59627C
Tritanopia (blue-blind)
#AC254F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a2237f;
/* rgb */ color: rgb(162, 35, 127);
/* oklch */ color: oklch(49.5% 0.186 341.8);
Tailwind
colors: {
  custom: {
    50: '#c26da4',
    500: '#a2237f',
    950: '#000000',
  },
}
SCSS
$custom: #a2237f;
$custom-light: #c26da4;
$custom-dark: #000000;
JSON
{
  "hex": "#a2237f",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 316.535,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.18593,
    "h": 341.8
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#A2237F
secondary
#5EC27A
accent
#E76E40
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A2237F

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

Preview Lab → · Contrast checker → · Palette generator →

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