#A2398E#A2398E

#A2398E is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.170 H 336.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A2398E
RGBrgb(162, 57, 142)
HSLhsl(311, 48%, 43%)
HSVhsv(311, 65%, 64%)
CMYKcmyk(0%, 64.8%, 12.3%, 36.5%)
CIE-LABlab(42.10, 53.03, -25.32)
CIE-LCHlch(42.10, 58.77, 334.48°)
OKLaboklab(52.3% 0.155 -0.0688)
OKLCHoklch(52.3% 0.17 336.1)
XYZxyz(21.2462, 12.5624, 26.8917)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2398E #39A24D
analogous
#8239A2 #A2398E #A23959
triadic
#A2398E #8EA239 #398EA2
tetradic
#A2398E #A28239 #39A24D #3959A2
square
#A2398E #A28239 #39A24D #3959A2
split-complementary
#A2398E #59A239 #39A282
monochromatic
#47193F #752966 #A2398E #C355AE #D382C4

Accessibility & contrast

On white

5.98
#A2398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2398E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2398E#FFFFFF#000000##FFFFFF
##A2398E1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5991
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#AA3F5E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a2398e;
/* rgb */ color: rgb(162, 57, 142);
/* oklch */ color: oklch(52.3% 0.170 336.1);
Tailwind
colors: {
  custom: {
    50: '#c177af',
    500: '#a2398e',
    950: '#000000',
  },
}
SCSS
$custom: #a2398e;
$custom-light: #c177af;
$custom-dark: #000000;
JSON
{
  "hex": "#a2398e",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 311.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.16958,
    "h": 336.1
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

primary
#A2398E
secondary
#7ABD87
accent
#D86A50
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A2398E

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

Preview Lab → · Contrast checker → · Palette generator →

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