#7E2A46#7E2A46

#7E2A46 is a dark, moderate pink. Relative luminance 0.065; OKLCH L 41.8% C 0.119 H 3.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7E2A46
RGBrgb(126, 42, 70)
HSLhsl(340, 50%, 33%)
HSVhsv(340, 67%, 49%)
CMYKcmyk(0%, 66.7%, 44.4%, 50.6%)
CIE-LABlab(30.72, 38.81, 2.39)
CIE-LCHlch(30.72, 38.88, 3.53°)
OKLaboklab(41.82% 0.1185 0.0066)
OKLCHoklch(41.82% 0.119 3.2)
XYZxyz(10.5384, 6.5350, 6.4996)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A46 #2A7E62
analogous
#7E2A70 #7E2A46 #7E382A
triadic
#7E2A46 #467E2A #2A467E
tetradic
#7E2A46 #707E2A #2A7E62 #382A7E
square
#7E2A46 #707E2A #2A7E62 #382A7E
split-complementary
#7E2A46 #2A7E38 #2A707E
monochromatic
#220B13 #501B2C #7E2A46 #AC395F #C85A7F

Accessibility & contrast

On white

9.10
#7E2A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A46
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A46#FFFFFF#000000##FFFFFF
##7E2A461.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3E47
Deuteranopia (green-blind)
#514E44
Tritanopia (blue-blind)
#892035
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2a46;
/* rgb */ color: rgb(126, 42, 70);
/* oklch */ color: oklch(41.8% 0.119 3.2);
Tailwind
colors: {
  custom: {
    50: '#a76979',
    500: '#7e2a46',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a46;
$custom-light: #a76979;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a46",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 340,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41818,
    "c": 0.1187,
    "h": 3.2
  },
  "luminance": 0.06534
}

Semantic roles & 50–950 ramp

primary
#7E2A46
secondary
#56AE90
accent
#DAAB4E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2A46

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

Preview Lab → · Contrast checker → · Palette generator →

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