#7E2B6E#7E2B6E

#7E2B6E is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.6% C 0.140 H 336.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7E2B6E
RGBrgb(126, 43, 110)
HSLhsl(312, 49%, 33%)
HSVhsv(312, 66%, 49%)
CMYKcmyk(0%, 65.9%, 12.7%, 50.6%)
CIE-LABlab(32.46, 43.91, -20.90)
CIE-LCHlch(32.46, 48.63, 334.55°)
OKLaboklab(43.61% 0.1284 -0.0568)
OKLCHoklch(43.61% 0.14 336.1)
XYZxyz(12.2827, 7.2902, 15.5091)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B6E #2B7E3B
analogous
#642B7E #7E2B6E #7E2B44
triadic
#7E2B6E #6E7E2B #2B6E7E
tetradic
#7E2B6E #7E642B #2B7E3B #2B447E
square
#7E2B6E #7E642B #2B7E3B #2B447E
split-complementary
#7E2B6E #447E2B #2B7E64
monochromatic
#230C1E #501B46 #7E2B6E #AC3B96 #C75CB3

Accessibility & contrast

On white

8.54
#7E2B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7E2B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B6E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B6E#FFFFFF#000000##FFFFFF
##7E2B6E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#46516C
Tritanopia (blue-blind)
#843048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2b6e;
/* rgb */ color: rgb(126, 43, 110);
/* oklch */ color: oklch(43.6% 0.140 336.1);
Tailwind
colors: {
  custom: {
    50: '#a66b98',
    500: '#7e2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b6e;
$custom-light: #a66b98;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b6e",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 311.566,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43609,
    "c": 0.14037,
    "h": 336.1
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#7E2B6E
secondary
#58AD68
accent
#D96A4F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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