#7E2941#7E2941

#7E2941 is a dark, moderate pink. Relative luminance 0.064; OKLCH L 41.5% C 0.119 H 6.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7E2941
RGBrgb(126, 41, 65)
HSLhsl(343, 51%, 33%)
HSVhsv(343, 67%, 49%)
CMYKcmyk(0%, 67.5%, 48.4%, 50.6%)
CIE-LABlab(30.41, 38.74, 5.24)
CIE-LCHlch(30.41, 39.09, 7.70°)
OKLaboklab(41.54% 0.118 0.0138)
OKLCHoklch(41.54% 0.119 6.7)
XYZxyz(10.3521, 6.4044, 5.6910)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2941 #297E66
analogous
#7E296B #7E2941 #7E3C29
triadic
#7E2941 #417E29 #29417E
tetradic
#7E2941 #6B7E29 #297E66 #3C297E
square
#7E2941 #6B7E29 #297E66 #3C297E
split-complementary
#7E2941 #297E3C #296B7E
monochromatic
#220B11 #501A29 #7E2941 #AC3859 #C95978

Accessibility & contrast

On white

9.21
#7E2941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2941
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2941#FFFFFF#000000##FFFFFF
##7E29411.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2941;
/* rgb */ color: rgb(126, 41, 65);
/* oklch */ color: oklch(41.5% 0.119 6.7);
Tailwind
colors: {
  custom: {
    50: '#a86875',
    500: '#7e2941',
    950: '#000000',
  },
}
SCSS
$custom: #7e2941;
$custom-light: #a86875;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2941",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 65
  },
  "hsl": {
    "h": 343.059,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.1188,
    "h": 6.7
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

primary
#7E2941
secondary
#55AE95
accent
#DAB34D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E2941

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

Preview Lab → · Contrast checker → · Palette generator →

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