#7A304B#7A304B

#7A304B is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.1% C 0.107 H 360.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#7A304B
RGBrgb(122, 48, 75)
HSLhsl(338, 44%, 33%)
HSVhsv(338, 61%, 48%)
CMYKcmyk(0%, 60.7%, 38.5%, 52.2%)
CIE-LABlab(31.26, 35.10, -0.20)
CIE-LCHlch(31.26, 35.11, 359.68°)
OKLaboklab(42.13% 0.107 -0.0001)
OKLCHoklch(42.13% 0.107 0)
XYZxyz(10.3536, 6.7606, 7.4149)
Luminance0.0676 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A304B #307A5F
analogous
#7A3070 #7A304B #7A3A30
triadic
#7A304B #4B7A30 #304B7A
tetradic
#7A304B #707A30 #307A5F #3A307A
square
#7A304B #707A30 #307A5F #3A307A
split-complementary
#7A304B #307A3A #30707A
monochromatic
#220D15 #4E1F30 #7A304B #A64166 #C26385

Accessibility & contrast

On white

8.93
#7A304B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7A304B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A304B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A304B#FFFFFF#000000##FFFFFF
##7A304B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#504F49
Tritanopia (blue-blind)
#84293A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a304b;
/* rgb */ color: rgb(122, 48, 75);
/* oklch */ color: oklch(42.1% 0.107 360.0);
Tailwind
colors: {
  custom: {
    50: '#a46c7d',
    500: '#7a304b',
    950: '#000000',
  },
}
SCSS
$custom: #7a304b;
$custom-light: #a46c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a304b",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 338.108,
    "s": 43.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42128,
    "c": 0.10704,
    "h": 360
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#7A304B
secondary
#5DA98D
accent
#D3A555
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7A304B

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

Preview Lab → · Contrast checker → · Palette generator →

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