#A9238D#A9238D

#A9238D is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.4% C 0.199 H 338.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A9238D
RGBrgb(169, 35, 141)
HSLhsl(313, 66%, 40%)
HSVhsv(313, 79%, 66%)
CMYKcmyk(0%, 79.3%, 16.6%, 33.7%)
CIE-LABlab(40.51, 62.34, -27.09)
CIE-LCHlch(40.51, 67.97, 336.51°)
OKLaboklab(51.37% 0.185 -0.0735)
OKLCHoklch(51.37% 0.199 338.3)
XYZxyz(21.7715, 11.5623, 26.2793)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9238D #23A93F
analogous
#8223A9 #A9238D #A9234A
triadic
#A9238D #8DA923 #238DA9
tetradic
#A9238D #A98223 #23A93F #234AA9
square
#A9238D #A98223 #23A93F #234AA9
split-complementary
#A9238D #4AA923 #23A982
monochromatic
#440E38 #761963 #A9238D #D534B3 #DF67C6

Accessibility & contrast

On white

6.34
#A9238D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A9238D
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9238D#FFFFFF#000000##FFFFFF
##A9238D1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#59678A
Tritanopia (blue-blind)
#B32B57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a9238d;
/* rgb */ color: rgb(169, 35, 141);
/* oklch */ color: oklch(51.4% 0.199 338.3);
Tailwind
colors: {
  custom: {
    50: '#c76eae',
    500: '#a9238d',
    950: '#000000',
  },
}
SCSS
$custom: #a9238d;
$custom-light: #c76eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a9238d",
  "rgb": {
    "r": 169,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 312.537,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.51366,
    "c": 0.19908,
    "h": 338.3
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#A9238D
secondary
#63C577
accent
#E9633F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #A9238D

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

Preview Lab → · Contrast checker → · Palette generator →

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