#7E246E#7E246E

#7E246E is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.150 H 335.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7E246E
RGBrgb(126, 36, 110)
HSLhsl(311, 56%, 32%)
HSVhsv(311, 71%, 49%)
CMYKcmyk(0%, 71.4%, 12.7%, 50.6%)
CIE-LABlab(31.40, 46.85, -22.54)
CIE-LCHlch(31.40, 52.00, 334.30°)
OKLaboklab(42.84% 0.1371 -0.0614)
OKLCHoklch(42.84% 0.15 335.9)
XYZxyz(12.0497, 6.8242, 15.4314)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E246E #247E34
analogous
#61247E #7E246E #7E2441
triadic
#7E246E #6E7E24 #246E7E
tetradic
#7E246E #7E6124 #247E34 #24417E
square
#7E246E #7E6124 #247E34 #24417E
split-complementary
#7E246E #417E24 #247E61
monochromatic
#1F091B #4E1644 #7E246E #AE3298 #CD50B7

Accessibility & contrast

On white

8.88
#7E246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7E246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E246E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E246E#FFFFFF#000000##FFFFFF
##7E246E1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254170
Deuteranopia (green-blind)
#434F6C
Tritanopia (blue-blind)
#852A46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e246e;
/* rgb */ color: rgb(126, 36, 110);
/* oklch */ color: oklch(42.8% 0.150 335.9);
Tailwind
colors: {
  custom: {
    50: '#a66798',
    500: '#7e246e',
    950: '#000000',
  },
}
SCSS
$custom: #7e246e;
$custom-light: #a66798;
$custom-dark: #000000;
JSON
{
  "hex": "#7e246e",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 310.667,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.15021,
    "h": 335.9
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#7E246E
secondary
#4EB05F
accent
#DF6449
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E246E

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

Preview Lab → · Contrast checker → · Palette generator →

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