#A9238E#A9238E

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

Color values

HEX#A9238E
RGBrgb(169, 35, 142)
HSLhsl(312, 66%, 40%)
HSVhsv(312, 79%, 66%)
CMYKcmyk(0%, 79.3%, 16%, 33.7%)
CIE-LABlab(40.56, 62.48, -27.62)
CIE-LCHlch(40.56, 68.32, 336.15°)
OKLaboklab(51.42% 0.1851 -0.0751)
OKLCHoklch(51.42% 0.2 337.9)
XYZxyz(21.8462, 11.5922, 26.6729)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9238E #23A93E
analogous
#8123A9 #A9238E #A9234B
triadic
#A9238E #8EA923 #238EA9
tetradic
#A9238E #A98123 #23A93E #234BA9
square
#A9238E #A98123 #23A93E #234BA9
split-complementary
#A9238E #4BA923 #23A981
monochromatic
#440E39 #761963 #A9238E #D534B5 #DF67C7

Accessibility & contrast

On white

6.33
#A9238E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A9238E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9238E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9238E#FFFFFF#000000##FFFFFF
##A9238E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5391
Deuteranopia (green-blind)
#58678B
Tritanopia (blue-blind)
#B32B57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a9238e;
/* rgb */ color: rgb(169, 35, 142);
/* oklch */ color: oklch(51.4% 0.200 337.9);
Tailwind
colors: {
  custom: {
    50: '#c76eaf',
    500: '#a9238e',
    950: '#000000',
  },
}
SCSS
$custom: #a9238e;
$custom-light: #c76eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a9238e",
  "rgb": {
    "r": 169,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 312.09,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.19973,
    "h": 337.9
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A9238E

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

Preview Lab → · Contrast checker → · Palette generator →

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