#7E2046#7E2046

#7E2046 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.132 H 0.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7E2046
RGBrgb(126, 32, 70)
HSLhsl(336, 59%, 31%)
HSVhsv(336, 75%, 49%)
CMYKcmyk(0%, 74.6%, 44.4%, 50.6%)
CIE-LABlab(29.19, 43.03, 0.17)
CIE-LCHlch(29.19, 43.03, 0.22°)
OKLaboklab(40.68% 0.132 0.0009)
OKLCHoklch(40.68% 0.132 0.4)
XYZxyz(10.2269, 5.9121, 6.3958)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2046 #207E58
analogous
#7E2075 #7E2046 #7E2920
triadic
#7E2046 #467E20 #20467E
tetradic
#7E2046 #757E20 #207E58 #29207E
square
#7E2046 #757E20 #207E58 #29207E
split-complementary
#7E2046 #207E29 #20757E
monochromatic
#1C0710 #4D142B #7E2046 #AF2C61 #D0487F

Accessibility & contrast

On white

9.62
#7E2046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E2046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2046
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2046#FFFFFF#000000##FFFFFF
##7E20461.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343947
Deuteranopia (green-blind)
#4D4B44
Tritanopia (blue-blind)
#891230
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2046;
/* rgb */ color: rgb(126, 32, 70);
/* oklch */ color: oklch(40.7% 0.132 0.4);
Tailwind
colors: {
  custom: {
    50: '#a86479',
    500: '#7e2046',
    950: '#000000',
  },
}
SCSS
$custom: #7e2046;
$custom-light: #a86479;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2046",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 335.745,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40682,
    "c": 0.13195,
    "h": 0.4
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#7E2046
secondary
#49B187
accent
#E3A345
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2046

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

Preview Lab → · Contrast checker → · Palette generator →

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