#A1237A#A1237A

#A1237A is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.182 H 343.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A1237A
RGBrgb(161, 35, 122)
HSLhsl(319, 64%, 38%)
HSVhsv(319, 78%, 63%)
CMYKcmyk(0%, 78.3%, 24.2%, 36.9%)
CIE-LABlab(38.17, 57.88, -19.11)
CIE-LCHlch(38.17, 60.95, 341.73°)
OKLaboklab(49.12% 0.1749 -0.0511)
OKLCHoklch(49.12% 0.182 343.7)
XYZxyz(18.8126, 10.1863, 19.3840)
Luminance0.1018 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1237A #23A14A
analogous
#8923A1 #A1237A #A1233B
triadic
#A1237A #7AA123 #237AA1
tetradic
#A1237A #A18923 #23A14A #233BA1
square
#A1237A #A18923 #23A14A #233BA1
split-complementary
#A1237A #3BA123 #23A189
monochromatic
#3C0D2E #6F1854 #A1237A #D22FA0 #DD62B7

Accessibility & contrast

On white

6.92
#A1237A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A1237A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1237A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1237A#FFFFFF#000000##FFFFFF
##A1237A1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7C
Deuteranopia (green-blind)
#596177
Tritanopia (blue-blind)
#AC234C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1237a;
/* rgb */ color: rgb(161, 35, 122);
/* oklch */ color: oklch(49.1% 0.182 343.7);
Tailwind
colors: {
  custom: {
    50: '#c16ca0',
    500: '#a1237a',
    950: '#000000',
  },
}
SCSS
$custom: #a1237a;
$custom-light: #c16ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1237a",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 318.571,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49122,
    "c": 0.18222,
    "h": 343.7
  },
  "luminance": 0.10184
}

Semantic roles & 50–950 ramp

primary
#A1237A
secondary
#5EC27D
accent
#E77441
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A1237A

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

Preview Lab → · Contrast checker → · Palette generator →

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