#7E2F49#7E2F49

#7E2F49 is a dark, moderate pink. Relative luminance 0.070; OKLCH L 42.6% C 0.112 H 2.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7E2F49
RGBrgb(126, 47, 73)
HSLhsl(340, 46%, 34%)
HSVhsv(340, 63%, 49%)
CMYKcmyk(0%, 62.7%, 42.1%, 50.6%)
CIE-LABlab(31.69, 36.77, 1.83)
CIE-LCHlch(31.69, 36.82, 2.85°)
OKLaboklab(42.57% 0.1122 0.0052)
OKLCHoklch(42.57% 0.112 2.6)
XYZxyz(10.8240, 6.9509, 7.0737)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F49 #2F7E64
analogous
#7E2F71 #7E2F49 #7E3D2F
triadic
#7E2F49 #497E2F #2F497E
tetradic
#7E2F49 #717E2F #2F7E64 #3D2F7E
square
#7E2F49 #717E2F #2F7E64 #3D2F7E
split-complementary
#7E2F49 #2F7E3D #2F717E
monochromatic
#250E15 #511E2F #7E2F49 #AB4063 #C56383

Accessibility & contrast

On white

8.79
#7E2F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E2F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F49
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F49#FFFFFF#000000##FFFFFF
##7E2F491.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E414A
Deuteranopia (green-blind)
#535047
Tritanopia (blue-blind)
#882739
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2f49;
/* rgb */ color: rgb(126, 47, 73);
/* oklch */ color: oklch(42.6% 0.112 2.6);
Tailwind
colors: {
  custom: {
    50: '#a76c7b',
    500: '#7e2f49',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f49;
$custom-light: #a76c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f49",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 73
  },
  "hsl": {
    "h": 340.253,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4257,
    "c": 0.11231,
    "h": 2.6
  },
  "luminance": 0.0695
}

Semantic roles & 50–950 ramp

primary
#7E2F49
secondary
#5DAC92
accent
#D5AA52
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2F49

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

Preview Lab → · Contrast checker → · Palette generator →

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