#A7307F#A7307F

#A7307F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.175 H 344.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A7307F
RGBrgb(167, 48, 127)
HSLhsl(320, 55%, 42%)
HSVhsv(320, 71%, 65%)
CMYKcmyk(0%, 71.3%, 24%, 34.5%)
CIE-LABlab(41.00, 55.74, -17.77)
CIE-LCHlch(41.00, 58.51, 342.32°)
OKLaboklab(51.45% 0.1682 -0.0474)
OKLCHoklch(51.45% 0.175 344.3)
XYZxyz(20.8248, 11.8638, 21.2678)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7307F #30A758
analogous
#9430A7 #A7307F #A73044
triadic
#A7307F #7FA730 #307FA7
tetradic
#A7307F #A79430 #30A758 #3044A7
square
#A7307F #A79430 #30A758 #3044A7
split-complementary
#A7307F #44A730 #30A794
monochromatic
#481537 #77225B #A7307F #CB499F #D879B8

Accessibility & contrast

On white

6.23
#A7307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7307F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7307F#FFFFFF#000000##FFFFFF
##A7307F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7307f;
/* rgb */ color: rgb(167, 48, 127);
/* oklch */ color: oklch(51.4% 0.175 344.3);
Tailwind
colors: {
  custom: {
    50: '#c573a4',
    500: '#a7307f',
    950: '#000000',
  },
}
SCSS
$custom: #a7307f;
$custom-light: #c573a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a7307f",
  "rgb": {
    "r": 167,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 320.168,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51446,
    "c": 0.17471,
    "h": 344.3
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#A7307F
secondary
#72C18C
accent
#DF7B49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A7307F

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

Preview Lab → · Contrast checker → · Palette generator →

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