#A1267E#A1267E

#A1267E is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.182 H 342.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A1267E
RGBrgb(161, 38, 126)
HSLhsl(317, 62%, 39%)
HSVhsv(317, 76%, 63%)
CMYKcmyk(0%, 76.4%, 21.7%, 36.9%)
CIE-LABlab(38.68, 57.49, -20.82)
CIE-LCHlch(38.68, 61.14, 340.09°)
OKLaboklab(49.54% 0.1727 -0.0559)
OKLCHoklch(49.54% 0.182 342.1)
XYZxyz(19.1576, 10.4716, 20.7469)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1267E #26A149
analogous
#8726A1 #A1267E #A12641
triadic
#A1267E #7EA126 #267EA1
tetradic
#A1267E #A18726 #26A149 #2641A1
square
#A1267E #A18726 #26A149 #2641A1
split-complementary
#A1267E #41A126 #26A187
monochromatic
#3E0F31 #6F1A57 #A1267E #CF35A3 #DB66BA

Accessibility & contrast

On white

6.79
#A1267E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A1267E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1267E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1267E#FFFFFF#000000##FFFFFF
##A1267E1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#AB284F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1267e;
/* rgb */ color: rgb(161, 38, 126);
/* oklch */ color: oklch(49.5% 0.182 342.1);
Tailwind
colors: {
  custom: {
    50: '#c16da3',
    500: '#a1267e',
    950: '#000000',
  },
}
SCSS
$custom: #a1267e;
$custom-light: #c16da3;
$custom-dark: #000000;
JSON
{
  "hex": "#a1267e",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 317.073,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.18158,
    "h": 342.1
  },
  "luminance": 0.1047
}

Semantic roles & 50–950 ramp

primary
#A1267E
secondary
#62C17D
accent
#E57143
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1267E

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

Preview Lab → · Contrast checker → · Palette generator →

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