#A7307C#A7307C

#A7307C is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.173 H 345.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A7307C
RGBrgb(167, 48, 124)
HSLhsl(322, 55%, 42%)
HSVhsv(322, 71%, 65%)
CMYKcmyk(0%, 71.3%, 25.7%, 34.5%)
CIE-LABlab(40.88, 55.34, -16.11)
CIE-LCHlch(40.88, 57.64, 343.77°)
OKLaboklab(51.32% 0.1675 -0.0427)
OKLCHoklch(51.32% 0.173 345.7)
XYZxyz(20.6322, 11.7868, 20.2534)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7307C #30A75B
analogous
#9730A7 #A7307C #A73040
triadic
#A7307C #7CA730 #307CA7
tetradic
#A7307C #A79730 #30A75B #3040A7
square
#A7307C #A79730 #30A75B #3040A7
split-complementary
#A7307C #40A730 #30A797
monochromatic
#481535 #772259 #A7307C #CB499C #D879B6

Accessibility & contrast

On white

6.26
#A7307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A7307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7307C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7307C#FFFFFF#000000##FFFFFF
##A7307C1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537E
Deuteranopia (green-blind)
#626879
Tritanopia (blue-blind)
#B22E52
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7307c;
/* rgb */ color: rgb(167, 48, 124);
/* oklch */ color: oklch(51.3% 0.173 345.7);
Tailwind
colors: {
  custom: {
    50: '#c573a2',
    500: '#a7307c',
    950: '#000000',
  },
}
SCSS
$custom: #a7307c;
$custom-light: #c573a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7307c",
  "rgb": {
    "r": 167,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 321.681,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51315,
    "c": 0.17289,
    "h": 345.7
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#A7307C
secondary
#72C18E
accent
#DF7F49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090F
muted
#827B7E

Preview Lab

Preview with #A7307C

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

Preview Lab → · Contrast checker → · Palette generator →

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