#7E2A41#7E2A41

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

Color values

HEX#7E2A41
RGBrgb(126, 42, 65)
HSLhsl(344, 50%, 33%)
HSVhsv(344, 67%, 49%)
CMYKcmyk(0%, 66.7%, 48.4%, 50.6%)
CIE-LABlab(30.58, 38.28, 5.48)
CIE-LCHlch(30.58, 38.67, 8.15°)
OKLaboklab(41.66% 0.1166 0.0144)
OKLCHoklch(41.66% 0.117 7)
XYZxyz(10.3871, 6.4745, 5.7027)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A41 #2A7E67
analogous
#7E2A6B #7E2A41 #7E3D2A
triadic
#7E2A41 #417E2A #2A417E
tetradic
#7E2A41 #6B7E2A #2A7E67 #3D2A7E
square
#7E2A41 #6B7E2A #2A7E67 #3D2A7E
split-complementary
#7E2A41 #2A7E3D #2A6B7E
monochromatic
#220B12 #501B29 #7E2A41 #AC3959 #C85A78

Accessibility & contrast

On white

9.15
#7E2A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A41
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A41#FFFFFF#000000##FFFFFF
##7E2A411.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2a41;
/* rgb */ color: rgb(126, 42, 65);
/* oklch */ color: oklch(41.7% 0.117 7.0);
Tailwind
colors: {
  custom: {
    50: '#a86975',
    500: '#7e2a41',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a41;
$custom-light: #a86975;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a41",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 65
  },
  "hsl": {
    "h": 343.571,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.11743,
    "h": 7
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#7E2A41
secondary
#56AE96
accent
#DAB34E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E2A41

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

Preview Lab → · Contrast checker → · Palette generator →

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