#7E366C#7E366C

#7E366C is a dark, vivid pink. Relative luminance 0.082; OKLCH L 44.9% C 0.121 H 338.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7E366C
RGBrgb(126, 54, 108)
HSLhsl(315, 40%, 35%)
HSVhsv(315, 57%, 49%)
CMYKcmyk(0%, 57.1%, 14.3%, 50.6%)
CIE-LABlab(34.31, 38.30, -16.77)
CIE-LCHlch(34.31, 41.81, 336.36°)
OKLaboklab(44.94% 0.1124 -0.0452)
OKLCHoklch(44.94% 0.121 338.1)
XYZxyz(12.6303, 8.1576, 15.0938)
Luminance0.0816 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E366C #367E48
analogous
#6C367E #7E366C #7E3648
triadic
#7E366C #6C7E36 #366C7E
tetradic
#7E366C #7E6C36 #367E48 #36487E
square
#7E366C #7E6C36 #367E48 #36487E
split-complementary
#7E366C #487E36 #367E6C
monochromatic
#281123 #532447 #7E366C #A94891 #C16EAC

Accessibility & contrast

On white

7.98
#7E366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E366C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E366C#FFFFFF#000000##FFFFFF
##7E366C1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6E
Deuteranopia (green-blind)
#4D556A
Tritanopia (blue-blind)
#84384C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e366c;
/* rgb */ color: rgb(126, 54, 108);
/* oklch */ color: oklch(44.9% 0.121 338.1);
Tailwind
colors: {
  custom: {
    50: '#a57196',
    500: '#7e366c',
    950: '#000000',
  },
}
SCSS
$custom: #7e366c;
$custom-light: #a57196;
$custom-dark: #000000;
JSON
{
  "hex": "#7e366c",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 315,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44939,
    "c": 0.12112,
    "h": 338.1
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#7E366C
secondary
#67A977
accent
#D07658
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #7E366C

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

Preview Lab → · Contrast checker → · Palette generator →

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