#7E2A42#7E2A42

#7E2A42 is a dark, moderate pink. Relative luminance 0.065; OKLCH L 41.7% C 0.118 H 6.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#7E2A42
RGBrgb(126, 42, 66)
HSLhsl(343, 50%, 33%)
HSVhsv(343, 67%, 49%)
CMYKcmyk(0%, 66.7%, 47.6%, 50.6%)
CIE-LABlab(30.61, 38.38, 4.86)
CIE-LCHlch(30.61, 38.69, 7.22°)
OKLaboklab(41.69% 0.117 0.0128)
OKLCHoklch(41.69% 0.118 6.3)
XYZxyz(10.4163, 6.4862, 5.8566)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A42 #2A7E66
analogous
#7E2A6C #7E2A42 #7E3C2A
triadic
#7E2A42 #427E2A #2A427E
tetradic
#7E2A42 #6C7E2A #2A7E66 #3C2A7E
square
#7E2A42 #6C7E2A #2A7E66 #3C2A7E
split-complementary
#7E2A42 #2A7E3C #2A6C7E
monochromatic
#220B12 #501B2A #7E2A42 #AC395A #C85A7A

Accessibility & contrast

On white

9.14
#7E2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E2A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A42
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A42#FFFFFF#000000##FFFFFF
##7E2A421.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2a42;
/* rgb */ color: rgb(126, 42, 66);
/* oklch */ color: oklch(41.7% 0.118 6.3);
Tailwind
colors: {
  custom: {
    50: '#a86976',
    500: '#7e2a42',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a42;
$custom-light: #a86976;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a42",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 342.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41693,
    "c": 0.11765,
    "h": 6.3
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#7E2A42
secondary
#56AE95
accent
#DAB24E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #7E2A42

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

Preview Lab → · Contrast checker → · Palette generator →

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