#7E2B59#7E2B59

#7E2B59 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.6% C 0.126 H 349.4°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7E2B59
RGBrgb(126, 43, 89)
HSLhsl(327, 49%, 33%)
HSVhsv(327, 66%, 49%)
CMYKcmyk(0%, 65.9%, 29.4%, 50.6%)
CIE-LABlab(31.55, 40.71, -8.81)
CIE-LCHlch(31.55, 41.66, 347.79°)
OKLaboklab(42.64% 0.1236 -0.023)
OKLCHoklch(42.64% 0.126 349.4)
XYZxyz(11.2717, 6.8858, 10.1847)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B59 #2B7E50
analogous
#792B7E #7E2B59 #7E2B2F
triadic
#7E2B59 #597E2B #2B597E
tetradic
#7E2B59 #7E792B #2B7E50 #2B2F7E
square
#7E2B59 #7E792B #2B7E50 #2B2F7E
split-complementary
#7E2B59 #2F7E2B #2B7E79
monochromatic
#230C19 #501B39 #7E2B59 #AC3B79 #C75C98

Accessibility & contrast

On white

8.83
#7E2B59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E2B59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B59
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B59#FFFFFF#000000##FFFFFF
##7E2B591.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36415A
Deuteranopia (green-blind)
#4D5057
Tritanopia (blue-blind)
#87283E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2b59;
/* rgb */ color: rgb(126, 43, 89);
/* oklch */ color: oklch(42.6% 0.126 349.4);
Tailwind
colors: {
  custom: {
    50: '#a66a88',
    500: '#7e2b59',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b59;
$custom-light: #a66a88;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b59",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 326.747,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4264,
    "c": 0.12572,
    "h": 349.4
  },
  "luminance": 0.06885
}

Semantic roles & 50–950 ramp

primary
#7E2B59
secondary
#58AD7E
accent
#D98C4F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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