#7A304D#7A304D

#7A304D is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.2% C 0.108 H 358.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#7A304D
RGBrgb(122, 48, 77)
HSLhsl(336, 44%, 33%)
HSVhsv(336, 61%, 48%)
CMYKcmyk(0%, 60.7%, 36.9%, 52.2%)
CIE-LABlab(31.32, 35.36, -1.41)
CIE-LCHlch(31.32, 35.39, 357.72°)
OKLaboklab(42.2% 0.1078 -0.0032)
OKLCHoklch(42.2% 0.108 358.3)
XYZxyz(10.4231, 6.7884, 7.7811)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A304D #307A5D
analogous
#7A3072 #7A304D #7A3830
triadic
#7A304D #4D7A30 #304D7A
tetradic
#7A304D #727A30 #307A5D #38307A
square
#7A304D #727A30 #307A5D #38307A
split-complementary
#7A304D #307A38 #30727A
monochromatic
#220D16 #4E1F31 #7A304D #A64169 #C26388

Accessibility & contrast

On white

8.91
#7A304D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7A304D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A304D
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A304D#FFFFFF#000000##FFFFFF
##7A304D1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#504F4B
Tritanopia (blue-blind)
#832A3B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a304d;
/* rgb */ color: rgb(122, 48, 77);
/* oklch */ color: oklch(42.2% 0.108 358.3);
Tailwind
colors: {
  custom: {
    50: '#a36c7e',
    500: '#7a304d',
    950: '#000000',
  },
}
SCSS
$custom: #7a304d;
$custom-light: #a36c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a304d",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 336.486,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42198,
    "c": 0.10783,
    "h": 358.3
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#7A304D
secondary
#5DA98B
accent
#D3A255
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#0F070A
muted
#7F7A7C

Preview Lab

Preview with #7A304D

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

Preview Lab → · Contrast checker → · Palette generator →

#7A304D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva