#A34271#A34271

#A34271 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.3% C 0.138 H 352.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A34271
RGBrgb(163, 66, 113)
HSLhsl(331, 42%, 45%)
HSVhsv(331, 60%, 64%)
CMYKcmyk(0%, 59.5%, 30.7%, 36.1%)
CIE-LABlab(42.58, 45.07, -6.80)
CIE-LCHlch(42.58, 45.58, 351.42°)
OKLaboklab(52.31% 0.1369 -0.0175)
OKLCHoklch(52.31% 0.138 352.7)
XYZxyz(20.0340, 12.8772, 17.0501)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34271 #42A374
analogous
#A342A1 #A34271 #A34442
triadic
#A34271 #71A342 #4271A3
tetradic
#A34271 #A1A342 #42A374 #4442A3
square
#A34271 #A1A342 #42A374 #4442A3
split-complementary
#A34271 #42A344 #42A1A3
monochromatic
#4C1F35 #773053 #A34271 #C06390 #D18EAF

Accessibility & contrast

On white

5.87
#A34271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A34271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34271
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34271#FFFFFF#000000##FFFFFF
##A342711.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A72
Deuteranopia (green-blind)
#6A6B6F
Tritanopia (blue-blind)
#AF3D54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a34271;
/* rgb */ color: rgb(163, 66, 113);
/* oklch */ color: oklch(52.3% 0.138 352.7);
Tailwind
colors: {
  custom: {
    50: '#c17b99',
    500: '#a34271',
    950: '#000000',
  },
}
SCSS
$custom: #a34271;
$custom-light: #c17b99;
$custom-dark: #000000;
JSON
{
  "hex": "#a34271",
  "rgb": {
    "r": 163,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 330.928,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.13806,
    "h": 352.7
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#A34271
secondary
#84BCA1
accent
#D29656
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A34271

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

Preview Lab → · Contrast checker → · Palette generator →

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