#7E314E#7E314E

#7E314E is a dark, moderate pink. Relative luminance 0.072; OKLCH L 43.0% C 0.111 H 359.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7E314E
RGBrgb(126, 49, 78)
HSLhsl(337, 44%, 34%)
HSVhsv(337, 61%, 49%)
CMYKcmyk(0%, 61.1%, 38.1%, 50.6%)
CIE-LABlab(32.22, 36.39, -0.66)
CIE-LCHlch(32.22, 36.40, 358.96°)
OKLaboklab(43.01% 0.111 -0.0013)
OKLCHoklch(43.01% 0.111 359.3)
XYZxyz(11.0783, 7.1835, 8.0094)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E314E #317E61
analogous
#7E3175 #7E314E #7E3B31
triadic
#7E314E #4E7E31 #314E7E
tetradic
#7E314E #757E31 #317E61 #3B317E
square
#7E314E #757E31 #317E61 #3B317E
split-complementary
#7E314E #317E3B #31757E
monochromatic
#260F17 #522033 #7E314E #AA4269 #C36689

Accessibility & contrast

On white

8.62
#7E314E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7E314E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E314E
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E314E#FFFFFF#000000##FFFFFF
##7E314E1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E434F
Deuteranopia (green-blind)
#53514C
Tritanopia (blue-blind)
#882A3C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e314e;
/* rgb */ color: rgb(126, 49, 78);
/* oklch */ color: oklch(43.0% 0.111 359.3);
Tailwind
colors: {
  custom: {
    50: '#a76d7f',
    500: '#7e314e',
    950: '#000000',
  },
}
SCSS
$custom: #7e314e;
$custom-light: #a76d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e314e",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 337.403,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.11099,
    "h": 359.3
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#7E314E
secondary
#60AB8F
accent
#D4A454
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E314E

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

Preview Lab → · Contrast checker → · Palette generator →

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