#A7307D#A7307D

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

Color values

HEX#A7307D
RGBrgb(167, 48, 125)
HSLhsl(321, 55%, 42%)
HSVhsv(321, 71%, 65%)
CMYKcmyk(0%, 71.3%, 25.1%, 34.5%)
CIE-LABlab(40.92, 55.48, -16.66)
CIE-LCHlch(40.92, 57.92, 343.28°)
OKLaboklab(51.36% 0.1678 -0.0443)
OKLCHoklch(51.36% 0.173 345.2)
XYZxyz(20.6958, 11.8122, 20.5881)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7307D #30A75A
analogous
#9530A7 #A7307D #A73042
triadic
#A7307D #7DA730 #307DA7
tetradic
#A7307D #A79530 #30A75A #3042A7
square
#A7307D #A79530 #30A75A #3042A7
split-complementary
#A7307D #42A730 #30A795
monochromatic
#481536 #772259 #A7307D #CB499D #D879B7

Accessibility & contrast

On white

6.25
#A7307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7307D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7307D#FFFFFF#000000##FFFFFF
##A7307D1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E547F
Deuteranopia (green-blind)
#61687A
Tritanopia (blue-blind)
#B22E52
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7307d;
/* rgb */ color: rgb(167, 48, 125);
/* oklch */ color: oklch(51.4% 0.173 345.2);
Tailwind
colors: {
  custom: {
    50: '#c573a2',
    500: '#a7307d',
    950: '#000000',
  },
}
SCSS
$custom: #a7307d;
$custom-light: #c573a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7307d",
  "rgb": {
    "r": 167,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 321.176,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.17349,
    "h": 345.2
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#A7307D
secondary
#72C18E
accent
#DF7E49
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A7307D

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

Preview Lab → · Contrast checker → · Palette generator →

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