#7E2A40#7E2A40

#7E2A40 is a dark, moderate pink. Relative luminance 0.065; OKLCH L 41.6% C 0.117 H 7.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7E2A40
RGBrgb(126, 42, 64)
HSLhsl(344, 50%, 33%)
HSVhsv(344, 67%, 49%)
CMYKcmyk(0%, 66.7%, 49.2%, 50.6%)
CIE-LABlab(30.55, 38.18, 6.10)
CIE-LCHlch(30.55, 38.66, 9.08°)
OKLaboklab(41.63% 0.1161 0.0159)
OKLCHoklch(41.63% 0.117 7.8)
XYZxyz(10.3584, 6.4630, 5.5515)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A40 #2A7E68
analogous
#7E2A6A #7E2A40 #7E3E2A
triadic
#7E2A40 #407E2A #2A407E
tetradic
#7E2A40 #6A7E2A #2A7E68 #3E2A7E
square
#7E2A40 #6A7E2A #2A7E68 #3E2A7E
split-complementary
#7E2A40 #2A7E3E #2A6A7E
monochromatic
#220B11 #501B29 #7E2A40 #AC3957 #C85A77

Accessibility & contrast

On white

9.16
#7E2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A40
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A40#FFFFFF#000000##FFFFFF
##7E2A401.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3D40
Deuteranopia (green-blind)
#524E3E
Tritanopia (blue-blind)
#891E33
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2a40;
/* rgb */ color: rgb(126, 42, 64);
/* oklch */ color: oklch(41.6% 0.117 7.8);
Tailwind
colors: {
  custom: {
    50: '#a86974',
    500: '#7e2a40',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a40;
$custom-light: #a86974;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a40",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 344.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.11722,
    "h": 7.8
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#7E2A40
secondary
#56AE97
accent
#DAB54E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E2A40

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

Preview Lab → · Contrast checker → · Palette generator →

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