#7E246A#7E246A

#7E246A is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.147 H 338.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7E246A
RGBrgb(126, 36, 106)
HSLhsl(313, 56%, 32%)
HSVhsv(313, 71%, 49%)
CMYKcmyk(0%, 71.4%, 15.9%, 50.6%)
CIE-LABlab(31.21, 46.22, -20.30)
CIE-LCHlch(31.21, 50.48, 336.29°)
OKLaboklab(42.63% 0.1365 -0.055)
OKLCHoklch(42.63% 0.147 338.1)
XYZxyz(11.8368, 6.7391, 14.3102)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E246A #247E38
analogous
#65247E #7E246A #7E243D
triadic
#7E246A #6A7E24 #246A7E
tetradic
#7E246A #7E6524 #247E38 #243D7E
square
#7E246A #7E6524 #247E38 #243D7E
split-complementary
#7E246A #3D7E24 #247E65
monochromatic
#1F091A #4E1642 #7E246A #AE3292 #CD50B1

Accessibility & contrast

On white

8.95
#7E246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E246A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E246A#FFFFFF#000000##FFFFFF
##7E246A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28406C
Deuteranopia (green-blind)
#454E68
Tritanopia (blue-blind)
#852844
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e246a;
/* rgb */ color: rgb(126, 36, 106);
/* oklch */ color: oklch(42.6% 0.147 338.1);
Tailwind
colors: {
  custom: {
    50: '#a66795',
    500: '#7e246a',
    950: '#000000',
  },
}
SCSS
$custom: #7e246a;
$custom-light: #a66795;
$custom-dark: #000000;
JSON
{
  "hex": "#7e246a",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 313.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42634,
    "c": 0.14718,
    "h": 338.1
  },
  "luminance": 0.06738
}

Semantic roles & 50–950 ramp

primary
#7E246A
secondary
#4EB063
accent
#DF6A49
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E246A

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

Preview Lab → · Contrast checker → · Palette generator →

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