#7E366B#7E366B

#7E366B is a dark, vivid pink. Relative luminance 0.081; OKLCH L 44.9% C 0.120 H 338.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7E366B
RGBrgb(126, 54, 107)
HSLhsl(316, 40%, 35%)
HSVhsv(316, 57%, 49%)
CMYKcmyk(0%, 57.1%, 15.1%, 50.6%)
CIE-LABlab(34.27, 38.13, -16.20)
CIE-LCHlch(34.27, 41.43, 336.98°)
OKLaboklab(44.89% 0.1121 -0.0436)
OKLCHoklch(44.89% 0.12 338.8)
XYZxyz(12.5774, 8.1365, 14.8151)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E366B #367E49
analogous
#6D367E #7E366B #7E3647
triadic
#7E366B #6B7E36 #366B7E
tetradic
#7E366B #7E6D36 #367E49 #36477E
square
#7E366B #7E6D36 #367E49 #36477E
split-complementary
#7E366B #477E36 #367E6D
monochromatic
#281122 #532447 #7E366B #A9488F #C16EAB

Accessibility & contrast

On white

7.99
#7E366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7E366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E366B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E366B#FFFFFF#000000##FFFFFF
##7E366B1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39496D
Deuteranopia (green-blind)
#4D5569
Tritanopia (blue-blind)
#85384B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e366b;
/* rgb */ color: rgb(126, 54, 107);
/* oklch */ color: oklch(44.9% 0.120 338.8);
Tailwind
colors: {
  custom: {
    50: '#a57195',
    500: '#7e366b',
    950: '#000000',
  },
}
SCSS
$custom: #7e366b;
$custom-light: #a57195;
$custom-dark: #000000;
JSON
{
  "hex": "#7e366b",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 315.833,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.12032,
    "h": 338.8
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#7E366B
secondary
#67A978
accent
#D07858
background
#FAF7F9
surface
#F4EDF1
border
#CEC8CB
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #7E366B

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

Preview Lab → · Contrast checker → · Palette generator →

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