#7E3370#7E3370

#7E3370 is a dark, vivid pink. Relative luminance 0.080; OKLCH L 44.7% C 0.129 H 335.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7E3370
RGBrgb(126, 51, 112)
HSLhsl(311, 42%, 35%)
HSVhsv(311, 60%, 49%)
CMYKcmyk(0%, 59.5%, 11.1%, 50.6%)
CIE-LABlab(33.93, 40.49, -19.88)
CIE-LCHlch(33.93, 45.11, 333.85°)
OKLaboklab(44.72% 0.1177 -0.054)
OKLCHoklch(44.72% 0.129 335.4)
XYZxyz(12.7127, 7.9741, 16.1957)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3370 #337E41
analogous
#67337E #7E3370 #7E334B
triadic
#7E3370 #707E33 #33707E
tetradic
#7E3370 #7E6733 #337E41 #334B7E
square
#7E3370 #7E6733 #337E41 #334B7E
split-complementary
#7E3370 #4B7E33 #337E67
monochromatic
#271023 #522149 #7E3370 #AA4597 #C269B2

Accessibility & contrast

On white

8.09
#7E3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7E3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3370
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3370#FFFFFF#000000##FFFFFF
##7E33701.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334972
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#84374C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e3370;
/* rgb */ color: rgb(126, 51, 112);
/* oklch */ color: oklch(44.7% 0.129 335.4);
Tailwind
colors: {
  custom: {
    50: '#a66f99',
    500: '#7e3370',
    950: '#000000',
  },
}
SCSS
$custom: #7e3370;
$custom-light: #a66f99;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3370",
  "rgb": {
    "r": 126,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 311.2,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44718,
    "c": 0.12945,
    "h": 335.4
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#7E3370
secondary
#63AA70
accent
#D26D56
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#10080E
muted
#7F7B7E

Preview Lab

Preview with #7E3370

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

Preview Lab → · Contrast checker → · Palette generator →

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