#7E2D47#7E2D47

#7E2D47 is a dark, moderate pink. Relative luminance 0.068; OKLCH L 42.2% C 0.115 H 3.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7E2D47
RGBrgb(126, 45, 71)
HSLhsl(341, 47%, 34%)
HSVhsv(341, 64%, 49%)
CMYKcmyk(0%, 64.3%, 43.7%, 50.6%)
CIE-LABlab(31.27, 37.51, 2.53)
CIE-LCHlch(31.27, 37.60, 3.86°)
OKLaboklab(42.24% 0.1145 0.007)
OKLCHoklch(42.24% 0.115 3.5)
XYZxyz(10.6806, 6.7686, 6.7040)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D47 #2D7E64
analogous
#7E2D6F #7E2D47 #7E3B2D
triadic
#7E2D47 #477E2D #2D477E
tetradic
#7E2D47 #6F7E2D #2D7E64 #3B2D7E
square
#7E2D47 #6F7E2D #2D7E64 #3B2D7E
split-complementary
#7E2D47 #2D7E3B #2D6F7E
monochromatic
#240D14 #511D2E #7E2D47 #AB3D60 #C65F80

Accessibility & contrast

On white

8.92
#7E2D47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E2D47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D47
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D47#FFFFFF#000000##FFFFFF
##7E2D471.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4048
Deuteranopia (green-blind)
#524F45
Tritanopia (blue-blind)
#892437
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2d47;
/* rgb */ color: rgb(126, 45, 71);
/* oklch */ color: oklch(42.2% 0.115 3.5);
Tailwind
colors: {
  custom: {
    50: '#a76b7a',
    500: '#7e2d47',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d47;
$custom-light: #a76b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d47",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 71
  },
  "hsl": {
    "h": 340.741,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42237,
    "c": 0.11468,
    "h": 3.5
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#7E2D47
secondary
#5AAC92
accent
#D7AC51
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2D47

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

Preview Lab → · Contrast checker → · Palette generator →

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