#A8237A#A8237A

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

Color values

HEX#A8237A
RGBrgb(168, 35, 122)
HSLhsl(321, 66%, 40%)
HSVhsv(321, 79%, 66%)
CMYKcmyk(0%, 79.2%, 27.4%, 34.1%)
CIE-LABlab(39.47, 59.60, -17.00)
CIE-LCHlch(39.47, 61.98, 344.08°)
OKLaboklab(50.3% 0.1812 -0.0451)
OKLCHoklch(50.3% 0.187 346)
XYZxyz(20.2633, 10.9343, 19.4520)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8237A #23A851
analogous
#9423A8 #A8237A #A82338
triadic
#A8237A #7AA823 #237AA8
tetradic
#A8237A #A89423 #23A851 #2338A8
square
#A8237A #A89423 #23A851 #2338A8
split-complementary
#A8237A #38A823 #23A894
monochromatic
#430E30 #751855 #A8237A #D5349D #DF66B5

Accessibility & contrast

On white

6.59
#A8237A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A8237A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8237A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8237A#FFFFFF#000000##FFFFFF
##A8237A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7C
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#B41F4C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8237a;
/* rgb */ color: rgb(168, 35, 122);
/* oklch */ color: oklch(50.3% 0.187 346.0);
Tailwind
colors: {
  custom: {
    50: '#c66da0',
    500: '#a8237a',
    950: '#000000',
  },
}
SCSS
$custom: #a8237a;
$custom-light: #c66da0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8237a",
  "rgb": {
    "r": 168,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 320.752,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50299,
    "c": 0.18676,
    "h": 346
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#A8237A
secondary
#62C584
accent
#E87A3F
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #A8237A

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

Preview Lab → · Contrast checker → · Palette generator →

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