#A1267F#A1267F

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

Color values

HEX#A1267F
RGBrgb(161, 38, 127)
HSLhsl(317, 62%, 39%)
HSVhsv(317, 76%, 63%)
CMYKcmyk(0%, 76.4%, 21.1%, 36.9%)
CIE-LABlab(38.72, 57.62, -21.37)
CIE-LCHlch(38.72, 61.46, 339.65°)
OKLaboklab(49.59% 0.1729 -0.0575)
OKLCHoklch(49.59% 0.182 341.6)
XYZxyz(19.2225, 10.4976, 21.0885)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1267F #26A148
analogous
#8626A1 #A1267F #A12642
triadic
#A1267F #7FA126 #267FA1
tetradic
#A1267F #A18626 #26A148 #2642A1
square
#A1267F #A18626 #26A148 #2642A1
split-complementary
#A1267F #42A126 #26A186
monochromatic
#3E0F31 #6F1A58 #A1267F #CF35A5 #DB66BB

Accessibility & contrast

On white

6.78
#A1267F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A1267F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1267F
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1267F#FFFFFF#000000##FFFFFF
##A1267F1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#59627C
Tritanopia (blue-blind)
#AB2850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a1267f;
/* rgb */ color: rgb(161, 38, 127);
/* oklch */ color: oklch(49.6% 0.182 341.6);
Tailwind
colors: {
  custom: {
    50: '#c16ea4',
    500: '#a1267f',
    950: '#000000',
  },
}
SCSS
$custom: #a1267f;
$custom-light: #c16ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a1267f",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 316.585,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49591,
    "c": 0.18221,
    "h": 341.6
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#A1267F
secondary
#62C17C
accent
#E57043
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A1267F

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

Preview Lab → · Contrast checker → · Palette generator →

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