#A3238B#A3238B

#A3238B is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.194 H 337.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A3238B
RGBrgb(163, 35, 139)
HSLhsl(311, 65%, 39%)
HSVhsv(311, 79%, 64%)
CMYKcmyk(0%, 78.5%, 14.7%, 36.1%)
CIE-LABlab(39.33, 60.69, -27.78)
CIE-LCHlch(39.33, 66.74, 335.40°)
OKLaboklab(50.29% 0.179 -0.0756)
OKLCHoklch(50.29% 0.194 337.1)
XYZxyz(20.3659, 10.8546, 25.4437)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3238B #23A33B
analogous
#7B23A3 #A3238B #A3234B
triadic
#A3238B #8BA323 #238BA3
tetradic
#A3238B #A37B23 #23A33B #234BA3
square
#A3238B #A37B23 #23A33B #234BA3
split-complementary
#A3238B #4BA323 #23A37B
monochromatic
#3E0D35 #711860 #A3238B #D331B4 #DD63C7

Accessibility & contrast

On white

6.62
#A3238B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A3238B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A3238B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3238B#FFFFFF#000000##FFFFFF
##A3238B1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#AC2C55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a3238b;
/* rgb */ color: rgb(163, 35, 139);
/* oklch */ color: oklch(50.3% 0.194 337.1);
Tailwind
colors: {
  custom: {
    50: '#c26dad',
    500: '#a3238b',
    950: '#000000',
  },
}
SCSS
$custom: #a3238b;
$custom-light: #c26dad;
$custom-dark: #000000;
JSON
{
  "hex": "#a3238b",
  "rgb": {
    "r": 163,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 311.25,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50286,
    "c": 0.19438,
    "h": 337.1
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#A3238B
secondary
#5FC372
accent
#E86040
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A3238B

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

Preview Lab → · Contrast checker → · Palette generator →

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