#7E334F#7E334F

#7E334F is a dark, moderate pink. Relative luminance 0.074; OKLCH L 43.3% C 0.108 H 359.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7E334F
RGBrgb(126, 51, 79)
HSLhsl(338, 42%, 35%)
HSVhsv(338, 60%, 49%)
CMYKcmyk(0%, 59.5%, 37.3%, 50.6%)
CIE-LABlab(32.63, 35.51, -0.71)
CIE-LCHlch(32.63, 35.51, 358.86°)
OKLaboklab(43.33% 0.1082 -0.0014)
OKLCHoklch(43.33% 0.108 359.3)
XYZxyz(11.1999, 7.3690, 8.2281)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E334F #337E62
analogous
#7E3375 #7E334F #7E3D33
triadic
#7E334F #4F7E33 #334F7E
tetradic
#7E334F #757E33 #337E62 #3D337E
square
#7E334F #757E33 #337E62 #3D337E
split-complementary
#7E334F #337E3D #33757E
monochromatic
#271018 #522134 #7E334F #AA456A #C2698A

Accessibility & contrast

On white

8.49
#7E334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E334F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E334F#FFFFFF#000000##FFFFFF
##7E334F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#53524D
Tritanopia (blue-blind)
#882D3E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e334f;
/* rgb */ color: rgb(126, 51, 79);
/* oklch */ color: oklch(43.3% 0.108 359.3);
Tailwind
colors: {
  custom: {
    50: '#a66e80',
    500: '#7e334f',
    950: '#000000',
  },
}
SCSS
$custom: #7e334f;
$custom-light: #a66e80;
$custom-dark: #000000;
JSON
{
  "hex": "#7e334f",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 337.6,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43332,
    "c": 0.10822,
    "h": 359.3
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#7E334F
secondary
#63AA8F
accent
#D2A456
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E334F

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

Preview Lab → · Contrast checker → · Palette generator →

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