#7E314C#7E314C

#7E314C is a dark, moderate pink. Relative luminance 0.072; OKLCH L 42.9% C 0.110 H 1.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7E314C
RGBrgb(126, 49, 76)
HSLhsl(339, 44%, 34%)
HSVhsv(339, 61%, 49%)
CMYKcmyk(0%, 61.1%, 39.7%, 50.6%)
CIE-LABlab(32.16, 36.14, 0.55)
CIE-LCHlch(32.16, 36.15, 0.87°)
OKLaboklab(42.95% 0.1102 0.0019)
OKLCHoklch(42.95% 0.11 1)
XYZxyz(11.0077, 7.1552, 7.6375)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E314C #317E63
analogous
#7E3173 #7E314C #7E3D31
triadic
#7E314C #4C7E31 #314C7E
tetradic
#7E314C #737E31 #317E63 #3D317E
square
#7E314C #737E31 #317E63 #3D317E
split-complementary
#7E314C #317E3D #31737E
monochromatic
#260F17 #522031 #7E314C #AA4267 #C36687

Accessibility & contrast

On white

8.64
#7E314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E314C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E314C#FFFFFF#000000##FFFFFF
##7E314C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F424D
Deuteranopia (green-blind)
#53514A
Tritanopia (blue-blind)
#882A3B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e314c;
/* rgb */ color: rgb(126, 49, 76);
/* oklch */ color: oklch(42.9% 0.110 1.0);
Tailwind
colors: {
  custom: {
    50: '#a76d7d',
    500: '#7e314c',
    950: '#000000',
  },
}
SCSS
$custom: #7e314c;
$custom-light: #a76d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e314c",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 338.961,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42946,
    "c": 0.11025,
    "h": 1
  },
  "luminance": 0.07154
}

Semantic roles & 50–950 ramp

primary
#7E314C
secondary
#60AB91
accent
#D4A754
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E314C

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

Preview Lab → · Contrast checker → · Palette generator →

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