#7E2746#7E2746

#7E2746 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.123 H 2.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#7E2746
RGBrgb(126, 39, 70)
HSLhsl(339, 53%, 32%)
HSVhsv(339, 69%, 49%)
CMYKcmyk(0%, 69%, 44.4%, 50.6%)
CIE-LABlab(30.23, 40.15, 1.68)
CIE-LCHlch(30.23, 40.19, 2.40°)
OKLaboklab(41.45% 0.1228 0.0048)
OKLCHoklch(41.45% 0.123 2.2)
XYZxyz(10.4359, 6.3301, 6.4654)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2746 #277E5F
analogous
#7E2771 #7E2746 #7E3427
triadic
#7E2746 #467E27 #27467E
tetradic
#7E2746 #717E27 #277E5F #34277E
square
#7E2746 #717E27 #277E5F #34277E
split-complementary
#7E2746 #277E34 #27717E
monochromatic
#210A12 #4F192C #7E2746 #AD3560 #CA557F

Accessibility & contrast

On white

9.27
#7E2746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2746
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2746#FFFFFF#000000##FFFFFF
##7E27461.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393C47
Deuteranopia (green-blind)
#504D44
Tritanopia (blue-blind)
#891C33
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2746;
/* rgb */ color: rgb(126, 39, 70);
/* oklch */ color: oklch(41.5% 0.123 2.2);
Tailwind
colors: {
  custom: {
    50: '#a76779',
    500: '#7e2746',
    950: '#000000',
  },
}
SCSS
$custom: #7e2746;
$custom-light: #a76779;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2746",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 70
  },
  "hsl": {
    "h": 338.621,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41451,
    "c": 0.12288,
    "h": 2.2
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#7E2746
secondary
#52AF8E
accent
#DCA94C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2746

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

Preview Lab → · Contrast checker → · Palette generator →

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