#7E326B#7E326B

#7E326B is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.3% C 0.127 H 338.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7E326B
RGBrgb(126, 50, 107)
HSLhsl(315, 43%, 35%)
HSVhsv(315, 60%, 49%)
CMYKcmyk(0%, 60.3%, 15.1%, 50.6%)
CIE-LABlab(33.52, 40.14, -17.35)
CIE-LCHlch(33.52, 43.73, 336.62°)
OKLaboklab(44.34% 0.1181 -0.0468)
OKLCHoklch(44.34% 0.127 338.4)
XYZxyz(12.3988, 7.7794, 14.7556)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E326B #327E45
analogous
#6B327E #7E326B #7E3245
triadic
#7E326B #6B7E32 #326B7E
tetradic
#7E326B #7E6B32 #327E45 #32457E
square
#7E326B #7E6B32 #327E45 #32457E
split-complementary
#7E326B #457E32 #327E6B
monochromatic
#260F21 #522146 #7E326B #AA4390 #C368AC

Accessibility & contrast

On white

8.22
#7E326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7E326B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E326B
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E326B#FFFFFF#000000##FFFFFF
##7E326B1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35476D
Deuteranopia (green-blind)
#4B5369
Tritanopia (blue-blind)
#85354A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7e326b;
/* rgb */ color: rgb(126, 50, 107);
/* oklch */ color: oklch(44.3% 0.127 338.4);
Tailwind
colors: {
  custom: {
    50: '#a66e95',
    500: '#7e326b',
    950: '#000000',
  },
}
SCSS
$custom: #7e326b;
$custom-light: #a66e95;
$custom-dark: #000000;
JSON
{
  "hex": "#7e326b",
  "rgb": {
    "r": 126,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 315,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44342,
    "c": 0.12703,
    "h": 338.4
  },
  "luminance": 0.07778
}

Semantic roles & 50–950 ramp

primary
#7E326B
secondary
#61AB74
accent
#D37455
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E326B

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

Preview Lab → · Contrast checker → · Palette generator →

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