#A12295#A12295

#A12295 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.201 H 332.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A12295
RGBrgb(161, 34, 149)
HSLhsl(306, 65%, 38%)
HSVhsv(306, 79%, 63%)
CMYKcmyk(0%, 78.9%, 7.5%, 36.9%)
CIE-LABlab(39.40, 62.01, -33.81)
CIE-LCHlch(39.40, 70.63, 331.40°)
OKLaboklab(50.43% 0.1785 -0.093)
OKLCHoklch(50.43% 0.201 332.5)
XYZxyz(20.6949, 10.8928, 29.4405)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12295 #22A12E
analogous
#6D22A1 #A12295 #A12255
triadic
#A12295 #95A122 #2295A1
tetradic
#A12295 #A16D22 #22A12E #2255A1
square
#A12295 #A16D22 #22A12E #2255A1
split-complementary
#A12295 #55A122 #22A16D
monochromatic
#3C0D37 #6E1766 #A12295 #D32DC3 #DD60D2

Accessibility & contrast

On white

6.61
#A12295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A12295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12295
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12295#FFFFFF#000000##FFFFFF
##A122951.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#4E6392
Tritanopia (blue-blind)
#A8325B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12295;
/* rgb */ color: rgb(161, 34, 149);
/* oklch */ color: oklch(50.4% 0.201 332.5);
Tailwind
colors: {
  custom: {
    50: '#c16db4',
    500: '#a12295',
    950: '#000000',
  },
}
SCSS
$custom: #a12295;
$custom-light: #c16db4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12295",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 305.669,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.20127,
    "h": 332.5
  },
  "luminance": 0.10891
}

Semantic roles & 50–950 ramp

primary
#A12295
secondary
#5DC266
accent
#E85040
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12295

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

Preview Lab → · Contrast checker → · Palette generator →

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