#7E246D#7E246D

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

Color values

HEX#7E246D
RGBrgb(126, 36, 109)
HSLhsl(311, 56%, 32%)
HSVhsv(311, 71%, 49%)
CMYKcmyk(0%, 71.4%, 13.5%, 50.6%)
CIE-LABlab(31.35, 46.69, -21.98)
CIE-LCHlch(31.35, 51.61, 334.79°)
OKLaboklab(42.79% 0.1369 -0.0598)
OKLCHoklch(42.79% 0.149 336.4)
XYZxyz(11.9956, 6.8026, 15.1463)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E246D #247E35
analogous
#62247E #7E246D #7E2440
triadic
#7E246D #6D7E24 #246D7E
tetradic
#7E246D #7E6224 #247E35 #24407E
square
#7E246D #7E6224 #247E35 #24407E
split-complementary
#7E246D #407E24 #247E62
monochromatic
#1F091B #4E1644 #7E246D #AE3296 #CD50B5

Accessibility & contrast

On white

8.90
#7E246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E246D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E246D#FFFFFF#000000##FFFFFF
##7E246D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26416F
Deuteranopia (green-blind)
#434F6B
Tritanopia (blue-blind)
#852945
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e246d;
/* rgb */ color: rgb(126, 36, 109);
/* oklch */ color: oklch(42.8% 0.149 336.4);
Tailwind
colors: {
  custom: {
    50: '#a66797',
    500: '#7e246d',
    950: '#000000',
  },
}
SCSS
$custom: #7e246d;
$custom-light: #a66797;
$custom-dark: #000000;
JSON
{
  "hex": "#7e246d",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 311.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.14944,
    "h": 336.4
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#7E246D
secondary
#4EB060
accent
#DF6549
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E246D

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

Preview Lab → · Contrast checker → · Palette generator →

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