#A2398F#A2398F

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

Color values

HEX#A2398F
RGBrgb(162, 57, 143)
HSLhsl(311, 48%, 43%)
HSVhsv(311, 65%, 64%)
CMYKcmyk(0%, 64.8%, 11.7%, 36.5%)
CIE-LABlab(42.14, 53.19, -25.85)
CIE-LCHlch(42.14, 59.14, 334.08°)
OKLaboklab(52.35% 0.1552 -0.0703)
OKLCHoklch(52.35% 0.17 335.6)
XYZxyz(21.3216, 12.5926, 27.2889)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2398F #39A24C
analogous
#8039A2 #A2398F #A2395A
triadic
#A2398F #8FA239 #398FA2
tetradic
#A2398F #A28039 #39A24C #395AA2
square
#A2398F #A28039 #39A24C #395AA2
split-complementary
#A2398F #5AA239 #39A280
monochromatic
#47193F #752967 #A2398F #C355AF #D382C4

Accessibility & contrast

On white

5.97
#A2398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A2398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2398F
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2398F#FFFFFF#000000##FFFFFF
##A2398F1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5992
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#AA3F5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a2398f;
/* rgb */ color: rgb(162, 57, 143);
/* oklch */ color: oklch(52.3% 0.170 335.6);
Tailwind
colors: {
  custom: {
    50: '#c177b0',
    500: '#a2398f',
    950: '#000000',
  },
}
SCSS
$custom: #a2398f;
$custom-light: #c177b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2398f",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 310.857,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5235,
    "c": 0.17034,
    "h": 335.6
  },
  "luminance": 0.12591
}

Semantic roles & 50–950 ramp

primary
#A2398F
secondary
#7ABD86
accent
#D86950
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A2398F

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

Preview Lab → · Contrast checker → · Palette generator →

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