#7E2749#7E2749

#7E2749 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.6% C 0.124 H 0.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7E2749
RGBrgb(126, 39, 73)
HSLhsl(337, 53%, 32%)
HSVhsv(337, 69%, 49%)
CMYKcmyk(0%, 69%, 42.1%, 50.6%)
CIE-LABlab(30.32, 40.49, -0.16)
CIE-LCHlch(30.32, 40.49, 359.77°)
OKLaboklab(41.55% 0.1239 0.0001)
OKLCHoklch(41.55% 0.124 0)
XYZxyz(10.5330, 6.3690, 6.9767)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2749 #277E5C
analogous
#7E2774 #7E2749 #7E3127
triadic
#7E2749 #497E27 #27497E
tetradic
#7E2749 #747E27 #277E5C #31277E
square
#7E2749 #747E27 #277E5C #31277E
split-complementary
#7E2749 #277E31 #27747E
monochromatic
#210A13 #4F192E #7E2749 #AD3564 #CA5583

Accessibility & contrast

On white

9.24
#7E2749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E2749 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2749
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2749#FFFFFF#000000##FFFFFF
##7E27491.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D4A
Deuteranopia (green-blind)
#4F4E47
Tritanopia (blue-blind)
#891D35
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2749;
/* rgb */ color: rgb(126, 39, 73);
/* oklch */ color: oklch(41.6% 0.124 0.0);
Tailwind
colors: {
  custom: {
    50: '#a7677b',
    500: '#7e2749',
    950: '#000000',
  },
}
SCSS
$custom: #7e2749;
$custom-light: #a7677b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2749",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 73
  },
  "hsl": {
    "h": 336.552,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.12391,
    "h": 0
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#7E2749
secondary
#52AF8B
accent
#DCA44C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2749

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

Preview Lab → · Contrast checker → · Palette generator →

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