#A7307E#A7307E

#A7307E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.174 H 344.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A7307E
RGBrgb(167, 48, 126)
HSLhsl(321, 55%, 42%)
HSVhsv(321, 71%, 65%)
CMYKcmyk(0%, 71.3%, 24.6%, 34.5%)
CIE-LABlab(40.96, 55.61, -17.22)
CIE-LCHlch(40.96, 58.21, 342.80°)
OKLaboklab(51.4% 0.168 -0.0458)
OKLCHoklch(51.4% 0.174 344.7)
XYZxyz(20.7600, 11.8379, 20.9263)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7307E #30A759
analogous
#9530A7 #A7307E #A73043
triadic
#A7307E #7EA730 #307EA7
tetradic
#A7307E #A79530 #30A759 #3043A7
square
#A7307E #A79530 #30A759 #3043A7
split-complementary
#A7307E #43A730 #30A795
monochromatic
#481536 #77225A #A7307E #CB499E #D879B8

Accessibility & contrast

On white

6.24
#A7307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A7307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7307E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7307E#FFFFFF#000000##FFFFFF
##A7307E1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5480
Deuteranopia (green-blind)
#61687B
Tritanopia (blue-blind)
#B22F53
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7307e;
/* rgb */ color: rgb(167, 48, 126);
/* oklch */ color: oklch(51.4% 0.174 344.7);
Tailwind
colors: {
  custom: {
    50: '#c573a3',
    500: '#a7307e',
    950: '#000000',
  },
}
SCSS
$custom: #a7307e;
$custom-light: #c573a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a7307e",
  "rgb": {
    "r": 167,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 320.672,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.1741,
    "h": 344.7
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#A7307E
secondary
#72C18D
accent
#DF7D49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A7307E

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

Preview Lab → · Contrast checker → · Palette generator →

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