#A1237D#A1237D

#A1237D is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.184 H 342.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A1237D
RGBrgb(161, 35, 125)
HSLhsl(317, 64%, 38%)
HSVhsv(317, 78%, 63%)
CMYKcmyk(0%, 78.3%, 22.4%, 36.9%)
CIE-LABlab(38.31, 58.27, -20.77)
CIE-LCHlch(38.31, 61.86, 340.39°)
OKLaboklab(49.26% 0.1754 -0.0557)
OKLCHoklch(49.26% 0.184 342.4)
XYZxyz(19.0013, 10.2618, 20.3781)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1237D #23A147
analogous
#8623A1 #A1237D #A1233E
triadic
#A1237D #7DA123 #237DA1
tetradic
#A1237D #A18623 #23A147 #233EA1
square
#A1237D #A18623 #23A147 #233EA1
split-complementary
#A1237D #3EA123 #23A186
monochromatic
#3C0D2F #6F1856 #A1237D #D22FA3 #DD62BA

Accessibility & contrast

On white

6.88
#A1237D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A1237D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1237D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1237D#FFFFFF#000000##FFFFFF
##A1237D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#58627A
Tritanopia (blue-blind)
#AB244E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a1237d;
/* rgb */ color: rgb(161, 35, 125);
/* oklch */ color: oklch(49.3% 0.184 342.4);
Tailwind
colors: {
  custom: {
    50: '#c16ca3',
    500: '#a1237d',
    950: '#000000',
  },
}
SCSS
$custom: #a1237d;
$custom-light: #c16ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1237d",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 317.143,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49263,
    "c": 0.18406,
    "h": 342.4
  },
  "luminance": 0.1026
}

Semantic roles & 50–950 ramp

primary
#A1237D
secondary
#5EC27A
accent
#E77041
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A1237D

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

Preview Lab → · Contrast checker → · Palette generator →

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