#7E2747#7E2747

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

Color values

HEX#7E2747
RGBrgb(126, 39, 71)
HSLhsl(338, 53%, 32%)
HSVhsv(338, 69%, 49%)
CMYKcmyk(0%, 69%, 43.7%, 50.6%)
CIE-LABlab(30.26, 40.26, 1.07)
CIE-LCHlch(30.26, 40.28, 1.52°)
OKLaboklab(41.48% 0.1232 0.0032)
OKLCHoklch(41.48% 0.123 1.5)
XYZxyz(10.4678, 6.3429, 6.6331)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2747 #277E5E
analogous
#7E2773 #7E2747 #7E3327
triadic
#7E2747 #477E27 #27477E
tetradic
#7E2747 #737E27 #277E5E #33277E
square
#7E2747 #737E27 #277E5E #33277E
split-complementary
#7E2747 #277E33 #27737E
monochromatic
#210A12 #4F192D #7E2747 #AD3561 #CA5580

Accessibility & contrast

On white

9.26
#7E2747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2747
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2747#FFFFFF#000000##FFFFFF
##7E27471.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383D48
Deuteranopia (green-blind)
#504D45
Tritanopia (blue-blind)
#891C34
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2747;
/* rgb */ color: rgb(126, 39, 71);
/* oklch */ color: oklch(41.5% 0.123 1.5);
Tailwind
colors: {
  custom: {
    50: '#a7677a',
    500: '#7e2747',
    950: '#000000',
  },
}
SCSS
$custom: #7e2747;
$custom-light: #a7677a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2747",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 71
  },
  "hsl": {
    "h": 337.931,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41484,
    "c": 0.12321,
    "h": 1.5
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#7E2747
secondary
#52AF8D
accent
#DCA74C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E2747

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

Preview Lab → · Contrast checker → · Palette generator →

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