#7E366D#7E366D

#7E366D is a dark, vivid pink. Relative luminance 0.082; OKLCH L 45.0% C 0.122 H 337.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7E366D
RGBrgb(126, 54, 109)
HSLhsl(314, 40%, 35%)
HSVhsv(314, 57%, 49%)
CMYKcmyk(0%, 57.1%, 13.5%, 50.6%)
CIE-LABlab(34.35, 38.47, -17.33)
CIE-LCHlch(34.35, 42.20, 335.75°)
OKLaboklab(44.99% 0.1126 -0.0468)
OKLCHoklch(44.99% 0.122 337.4)
XYZxyz(12.6838, 8.1790, 15.3757)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E366D #367E47
analogous
#6B367E #7E366D #7E3649
triadic
#7E366D #6D7E36 #366D7E
tetradic
#7E366D #7E6B36 #367E47 #36497E
square
#7E366D #7E6B36 #367E47 #36497E
split-complementary
#7E366D #497E36 #367E6B
monochromatic
#281123 #532448 #7E366D #A94892 #C16EAD

Accessibility & contrast

On white

7.97
#7E366D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E366D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E366D#FFFFFF#000000##FFFFFF
##7E366D1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384A6F
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#84394C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e366d;
/* rgb */ color: rgb(126, 54, 109);
/* oklch */ color: oklch(45.0% 0.122 337.4);
Tailwind
colors: {
  custom: {
    50: '#a57197',
    500: '#7e366d',
    950: '#000000',
  },
}
SCSS
$custom: #7e366d;
$custom-light: #a57197;
$custom-dark: #000000;
JSON
{
  "hex": "#7e366d",
  "rgb": {
    "r": 126,
    "g": 54,
    "b": 109
  },
  "hsl": {
    "h": 314.167,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44986,
    "c": 0.12193,
    "h": 337.4
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#7E366D
secondary
#67A976
accent
#D07458
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10080D
muted
#7F7B7E

Preview Lab

Preview with #7E366D

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

Preview Lab → · Contrast checker → · Palette generator →

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