#7E366F#7E366F

#7E366F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.1% C 0.124 H 336.2°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7E366F
RGBrgb(126, 54, 111)
HSLhsl(313, 40%, 35%)
HSVhsv(313, 57%, 49%)
CMYKcmyk(0%, 57.1%, 11.9%, 50.6%)
CIE-LABlab(34.44, 38.82, -18.46)
CIE-LCHlch(34.44, 42.98, 334.57°)
OKLaboklab(45.08% 0.113 -0.05)
OKLCHoklch(45.08% 0.124 336.2)
XYZxyz(12.7927, 8.2226, 15.9492)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E366F #367E45
analogous
#69367E #7E366F #7E364B
triadic
#7E366F #6F7E36 #366F7E
tetradic
#7E366F #7E6936 #367E45 #364B7E
square
#7E366F #7E6936 #367E45 #364B7E
split-complementary
#7E366F #4B7E36 #367E69
monochromatic
#281124 #532449 #7E366F #A94895 #C16EAF

Accessibility & contrast

On white

7.94
#7E366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7E366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E366F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E366F#FFFFFF#000000##FFFFFF
##7E366F1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#4C556D
Tritanopia (blue-blind)
#84394D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e366f;
/* rgb */ color: rgb(126, 54, 111);
/* oklch */ color: oklch(45.1% 0.124 336.2);
Tailwind
colors: {
  custom: {
    50: '#a57198',
    500: '#7e366f',
    950: '#000000',
  },
}
SCSS
$custom: #7e366f;
$custom-light: #a57198;
$custom-dark: #000000;
JSON
{
  "hex": "#7e366f",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 312.5,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45081,
    "c": 0.12359,
    "h": 336.2
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#7E366F
secondary
#67A974
accent
#D07158
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #7E366F

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

Preview Lab → · Contrast checker → · Palette generator →

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