#7E2748#7E2748

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

Color values

HEX#7E2748
RGBrgb(126, 39, 72)
HSLhsl(337, 53%, 32%)
HSVhsv(337, 69%, 49%)
CMYKcmyk(0%, 69%, 42.9%, 50.6%)
CIE-LABlab(30.29, 40.38, 0.45)
CIE-LCHlch(30.29, 40.38, 0.64°)
OKLaboklab(41.52% 0.1235 0.0017)
OKLCHoklch(41.52% 0.124 0.8)
XYZxyz(10.5001, 6.3558, 6.8035)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2748 #277E5D
analogous
#7E2774 #7E2748 #7E3127
triadic
#7E2748 #487E27 #27487E
tetradic
#7E2748 #747E27 #277E5D #31277E
square
#7E2748 #747E27 #277E5D #31277E
split-complementary
#7E2748 #277E31 #27747E
monochromatic
#210A13 #4F192D #7E2748 #AD3563 #CA5582

Accessibility & contrast

On white

9.25
#7E2748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2748
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2748#FFFFFF#000000##FFFFFF
##7E27481.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D49
Deuteranopia (green-blind)
#504D46
Tritanopia (blue-blind)
#891D34
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2748;
/* rgb */ color: rgb(126, 39, 72);
/* oklch */ color: oklch(41.5% 0.124 0.8);
Tailwind
colors: {
  custom: {
    50: '#a7677a',
    500: '#7e2748',
    950: '#000000',
  },
}
SCSS
$custom: #7e2748;
$custom-light: #a7677a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2748",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 72
  },
  "hsl": {
    "h": 337.241,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.12355,
    "h": 0.8
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#7E2748
secondary
#52AF8C
accent
#DCA54C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2748

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

Preview Lab → · Contrast checker → · Palette generator →

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