#A7307A#A7307A

#A7307A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.172 H 346.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A7307A
RGBrgb(167, 48, 122)
HSLhsl(323, 55%, 42%)
HSVhsv(323, 71%, 65%)
CMYKcmyk(0%, 71.3%, 26.9%, 34.5%)
CIE-LABlab(40.79, 55.08, -14.99)
CIE-LCHlch(40.79, 57.09, 344.77°)
OKLaboklab(51.23% 0.1671 -0.0396)
OKLCHoklch(51.23% 0.172 346.7)
XYZxyz(20.5070, 11.7367, 19.5940)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7307A #30A75D
analogous
#9930A7 #A7307A #A7303F
triadic
#A7307A #7AA730 #307AA7
tetradic
#A7307A #A79930 #30A75D #303FA7
square
#A7307A #A79930 #30A75D #303FA7
split-complementary
#A7307A #3FA730 #30A799
monochromatic
#481535 #772257 #A7307A #CB499A #D879B4

Accessibility & contrast

On white

6.27
#A7307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A7307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7307A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7307A#FFFFFF#000000##FFFFFF
##A7307A1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F537C
Deuteranopia (green-blind)
#626877
Tritanopia (blue-blind)
#B32D51
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7307a;
/* rgb */ color: rgb(167, 48, 122);
/* oklch */ color: oklch(51.2% 0.172 346.7);
Tailwind
colors: {
  custom: {
    50: '#c572a0',
    500: '#a7307a',
    950: '#000000',
  },
}
SCSS
$custom: #a7307a;
$custom-light: #c572a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7307a",
  "rgb": {
    "r": 167,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 322.689,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5123,
    "c": 0.17172,
    "h": 346.7
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#A7307A
secondary
#72C190
accent
#DF8249
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A7307A

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

Preview Lab → · Contrast checker → · Palette generator →

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