#7E346F#7E346F

#7E346F is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.8% C 0.127 H 336.0°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7E346F
RGBrgb(126, 52, 111)
HSLhsl(312, 42%, 35%)
HSVhsv(312, 59%, 49%)
CMYKcmyk(0%, 58.7%, 11.9%, 50.6%)
CIE-LABlab(34.07, 39.82, -19.04)
CIE-LCHlch(34.07, 44.14, 334.45°)
OKLaboklab(44.8% 0.116 -0.0516)
OKLCHoklch(44.8% 0.127 336)
XYZxyz(12.7015, 8.0403, 15.9188)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E346F #347E43
analogous
#68347E #7E346F #7E344A
triadic
#7E346F #6F7E34 #346F7E
tetradic
#7E346F #7E6834 #347E43 #344A7E
square
#7E346F #7E6834 #347E43 #344A7E
split-complementary
#7E346F #4A7E34 #347E68
monochromatic
#271023 #532249 #7E346F #A94695 #C26BB0

Accessibility & contrast

On white

8.05
#7E346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7E346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E346F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E346F#FFFFFF#000000##FFFFFF
##7E346F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354971
Deuteranopia (green-blind)
#4B546D
Tritanopia (blue-blind)
#84384C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e346f;
/* rgb */ color: rgb(126, 52, 111);
/* oklch */ color: oklch(44.8% 0.127 336.0);
Tailwind
colors: {
  custom: {
    50: '#a67098',
    500: '#7e346f',
    950: '#000000',
  },
}
SCSS
$custom: #7e346f;
$custom-light: #a67098;
$custom-dark: #000000;
JSON
{
  "hex": "#7e346f",
  "rgb": {
    "r": 126,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 312.162,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44804,
    "c": 0.12695,
    "h": 336
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#7E346F
secondary
#64AA72
accent
#D16F56
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #7E346F

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

Preview Lab → · Contrast checker → · Palette generator →

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