#7A3147#7A3147

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

Color values

HEX#7A3147
RGBrgb(122, 49, 71)
HSLhsl(342, 43%, 34%)
HSVhsv(342, 60%, 48%)
CMYKcmyk(0%, 59.8%, 41.8%, 52.2%)
CIE-LABlab(31.32, 34.10, 2.52)
CIE-LCHlch(31.32, 34.20, 4.22°)
OKLaboklab(42.14% 0.1039 0.0069)
OKLCHoklch(42.14% 0.104 3.8)
XYZxyz(10.2623, 6.7902, 6.7302)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A3147 #317A64
analogous
#7A316B #7A3147 #7A3F31
triadic
#7A3147 #477A31 #31477A
tetradic
#7A3147 #6B7A31 #317A64 #3F317A
square
#7A3147 #6B7A31 #317A64 #3F317A
split-complementary
#7A3147 #317A3F #316B7A
monochromatic
#230E14 #4E1F2E #7A3147 #A64360 #C16480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A3147#FFFFFF#000000##FFFFFF
##7A31471.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)
#3F4148
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#842939
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7a3147;
/* rgb */ color: rgb(122, 49, 71);
/* oklch */ color: oklch(42.1% 0.104 3.8);
Tailwind
colors: {
  custom: {
    50: '#a46c7a',
    500: '#7a3147',
    950: '#000000',
  },
}
SCSS
$custom: #7a3147;
$custom-light: #a46c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a3147",
  "rgb": {
    "r": 122,
    "g": 49,
    "b": 71
  },
  "hsl": {
    "h": 341.918,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4214,
    "c": 0.10413,
    "h": 3.8
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#7A3147
secondary
#5EA892
accent
#D2AD55
background
#FAF6F7
surface
#F4ECED
border
#CEC7C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7A3147

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

Preview Lab → · Contrast checker → · Palette generator →

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