#7E2D45#7E2D45

#7E2D45 is a dark, moderate pink. Relative luminance 0.067; OKLCH L 42.2% C 0.114 H 5.1°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7E2D45
RGBrgb(126, 45, 69)
HSLhsl(342, 47%, 34%)
HSVhsv(342, 64%, 49%)
CMYKcmyk(0%, 64.3%, 45.2%, 50.6%)
CIE-LABlab(31.22, 37.29, 3.76)
CIE-LCHlch(31.22, 37.48, 5.76°)
OKLaboklab(42.17% 0.1137 0.0101)
OKLCHoklch(42.17% 0.114 5.1)
XYZxyz(10.6175, 6.7433, 6.3715)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D45 #2D7E66
analogous
#7E2D6D #7E2D45 #7E3D2D
triadic
#7E2D45 #457E2D #2D457E
tetradic
#7E2D45 #6D7E2D #2D7E66 #3D2D7E
square
#7E2D45 #6D7E2D #2D7E66 #3D2D7E
split-complementary
#7E2D45 #2D7E3D #2D6D7E
monochromatic
#240D14 #511D2C #7E2D45 #AB3D5E #C65F7E

Accessibility & contrast

On white

8.94
#7E2D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2D45
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D45#FFFFFF#000000##FFFFFF
##7E2D451.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3F46
Deuteranopia (green-blind)
#534F43
Tritanopia (blue-blind)
#892336
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2d45;
/* rgb */ color: rgb(126, 45, 69);
/* oklch */ color: oklch(42.2% 0.114 5.1);
Tailwind
colors: {
  custom: {
    50: '#a76b78',
    500: '#7e2d45',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d45;
$custom-light: #a76b78;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d45",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 69
  },
  "hsl": {
    "h": 342.222,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42174,
    "c": 0.11413,
    "h": 5.1
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#7E2D45
secondary
#5AAC94
accent
#D7AF51
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2D45

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

Preview Lab → · Contrast checker → · Palette generator →

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