#A1268F#A1268F

#A1268F is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.193 H 334.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A1268F
RGBrgb(161, 38, 143)
HSLhsl(309, 62%, 39%)
HSVhsv(309, 76%, 63%)
CMYKcmyk(0%, 76.4%, 11.2%, 36.9%)
CIE-LABlab(39.49, 59.92, -30.01)
CIE-LCHlch(39.49, 67.01, 333.40°)
OKLaboklab(50.4% 0.1747 -0.0821)
OKLCHoklch(50.4% 0.193 334.8)
XYZxyz(20.3492, 10.9483, 27.0228)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1268F #26A138
analogous
#7626A1 #A1268F #A12652
triadic
#A1268F #8FA126 #268FA1
tetradic
#A1268F #A17626 #26A138 #2652A1
square
#A1268F #A17626 #26A138 #2652A1
split-complementary
#A1268F #52A126 #26A176
monochromatic
#3E0F37 #6F1A63 #A1268F #CF35B9 #DB66CA

Accessibility & contrast

On white

6.58
#A1268F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A1268F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1268F
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1268F#FFFFFF#000000##FFFFFF
##A1268F1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255192
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#A93158
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1268f;
/* rgb */ color: rgb(161, 38, 143);
/* oklch */ color: oklch(50.4% 0.193 334.8);
Tailwind
colors: {
  custom: {
    50: '#c16eb0',
    500: '#a1268f',
    950: '#000000',
  },
}
SCSS
$custom: #a1268f;
$custom-light: #c16eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a1268f",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 308.78,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50399,
    "c": 0.19305,
    "h": 334.8
  },
  "luminance": 0.10946
}

Semantic roles & 50–950 ramp

primary
#A1268F
secondary
#62C170
accent
#E55B43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1268F

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

Preview Lab → · Contrast checker → · Palette generator →

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