#7E314D#7E314D

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

Color values

HEX#7E314D
RGBrgb(126, 49, 77)
HSLhsl(338, 44%, 34%)
HSVhsv(338, 61%, 49%)
CMYKcmyk(0%, 61.1%, 38.9%, 50.6%)
CIE-LABlab(32.19, 36.26, -0.06)
CIE-LCHlch(32.19, 36.26, 359.91°)
OKLaboklab(42.98% 0.1106 0.0003)
OKLCHoklch(42.98% 0.111 0.2)
XYZxyz(11.0427, 7.1693, 7.8220)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E314D #317E62
analogous
#7E3174 #7E314D #7E3C31
triadic
#7E314D #4D7E31 #314D7E
tetradic
#7E314D #747E31 #317E62 #3C317E
square
#7E314D #747E31 #317E62 #3C317E
split-complementary
#7E314D #317E3C #31747E
monochromatic
#260F17 #522032 #7E314D #AA4268 #C36688

Accessibility & contrast

On white

8.63
#7E314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E314D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E314D#FFFFFF#000000##FFFFFF
##7E314D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e314d;
/* rgb */ color: rgb(126, 49, 77);
/* oklch */ color: oklch(43.0% 0.111 0.2);
Tailwind
colors: {
  custom: {
    50: '#a76d7e',
    500: '#7e314d',
    950: '#000000',
  },
}
SCSS
$custom: #7e314d;
$custom-light: #a76d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e314d",
  "rgb": {
    "r": 126,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 338.182,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4298,
    "c": 0.11061,
    "h": 0.2
  },
  "luminance": 0.07168
}

Semantic roles & 50–950 ramp

primary
#7E314D
secondary
#60AB90
accent
#D4A554
background
#FAF6F7
surface
#F4ECEE
border
#CEC7C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E314D

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

Preview Lab → · Contrast checker → · Palette generator →

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