#A1237F#A1237F

#A1237F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.185 H 341.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A1237F
RGBrgb(161, 35, 127)
HSLhsl(316, 64%, 38%)
HSVhsv(316, 78%, 63%)
CMYKcmyk(0%, 78.3%, 21.1%, 36.9%)
CIE-LABlab(38.40, 58.54, -21.87)
CIE-LCHlch(38.40, 62.49, 339.52°)
OKLaboklab(49.36% 0.1757 -0.0588)
OKLCHoklch(49.36% 0.185 341.5)
XYZxyz(19.1304, 10.3134, 21.0578)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1237F #23A145
analogous
#8423A1 #A1237F #A12340
triadic
#A1237F #7FA123 #237FA1
tetradic
#A1237F #A18423 #23A145 #2340A1
square
#A1237F #A18423 #23A145 #2340A1
split-complementary
#A1237F #40A123 #23A184
monochromatic
#3C0D30 #6F1857 #A1237F #D22FA6 #DD62BC

Accessibility & contrast

On white

6.86
#A1237F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A1237F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1237F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1237F#FFFFFF#000000##FFFFFF
##A1237F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#58627C
Tritanopia (blue-blind)
#AB264F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1237f;
/* rgb */ color: rgb(161, 35, 127);
/* oklch */ color: oklch(49.4% 0.185 341.5);
Tailwind
colors: {
  custom: {
    50: '#c16ca4',
    500: '#a1237f',
    950: '#000000',
  },
}
SCSS
$custom: #a1237f;
$custom-light: #c16ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1237f",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 316.19,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49358,
    "c": 0.18531,
    "h": 341.5
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#A1237F
secondary
#5EC279
accent
#E76E41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A1237F

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

Preview Lab → · Contrast checker → · Palette generator →

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