#A1308B#A1308B

#A1308B is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.179 H 336.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A1308B
RGBrgb(161, 48, 139)
HSLhsl(312, 54%, 41%)
HSVhsv(312, 70%, 63%)
CMYKcmyk(0%, 70.2%, 13.7%, 36.9%)
CIE-LABlab(40.50, 55.89, -25.98)
CIE-LCHlch(40.50, 61.64, 335.07°)
OKLaboklab(51.06% 0.1642 -0.0706)
OKLCHoklch(51.06% 0.179 336.7)
XYZxyz(20.4154, 11.5569, 25.5766)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1308B #30A146
analogous
#7E30A1 #A1308B #A13052
triadic
#A1308B #8BA130 #308BA1
tetradic
#A1308B #A17E30 #30A146 #3052A1
square
#A1308B #A17E30 #30A146 #3052A1
split-complementary
#A1308B #52A130 #30A17E
monochromatic
#43143A #722262 #A1308B #C846AF #D675C3

Accessibility & contrast

On white

6.34
#A1308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A1308B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1308B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1308B#FFFFFF#000000##FFFFFF
##A1308B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548E
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#A93759
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a1308b;
/* rgb */ color: rgb(161, 48, 139);
/* oklch */ color: oklch(51.1% 0.179 336.7);
Tailwind
colors: {
  custom: {
    50: '#c072ad',
    500: '#a1308b',
    950: '#000000',
  },
}
SCSS
$custom: #a1308b;
$custom-light: #c072ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a1308b",
  "rgb": {
    "r": 161,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 311.681,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.17873,
    "h": 336.7
  },
  "luminance": 0.11555
}

Semantic roles & 50–950 ramp

primary
#A1308B
secondary
#6FBE7E
accent
#DD674A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A1308B

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

Preview Lab → · Contrast checker → · Palette generator →

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