#7E2467#7E2467

#7E2467 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.145 H 339.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7E2467
RGBrgb(126, 36, 103)
HSLhsl(315, 56%, 32%)
HSVhsv(315, 71%, 49%)
CMYKcmyk(0%, 71.4%, 18.3%, 50.6%)
CIE-LABlab(31.06, 45.76, -18.60)
CIE-LCHlch(31.06, 49.39, 337.88°)
OKLaboklab(42.48% 0.136 -0.0502)
OKLCHoklch(42.48% 0.145 339.8)
XYZxyz(11.6835, 6.6777, 13.5029)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2467 #247E3B
analogous
#68247E #7E2467 #7E243A
triadic
#7E2467 #677E24 #24677E
tetradic
#7E2467 #7E6824 #247E3B #243A7E
square
#7E2467 #7E6824 #247E3B #243A7E
split-complementary
#7E2467 #3A7E24 #247E68
monochromatic
#1F0919 #4E1640 #7E2467 #AE328E #CD50AD

Accessibility & contrast

On white

8.99
#7E2467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7E2467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2467
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2467#FFFFFF#000000##FFFFFF
##7E24671.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294069
Deuteranopia (green-blind)
#464E65
Tritanopia (blue-blind)
#852742
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2467;
/* rgb */ color: rgb(126, 36, 103);
/* oklch */ color: oklch(42.5% 0.145 339.8);
Tailwind
colors: {
  custom: {
    50: '#a66792',
    500: '#7e2467',
    950: '#000000',
  },
}
SCSS
$custom: #7e2467;
$custom-light: #a66792;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2467",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 315.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42482,
    "c": 0.145,
    "h": 339.8
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#7E2467
secondary
#4EB067
accent
#DF6F49
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E2467

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

Preview Lab → · Contrast checker → · Palette generator →

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