#7E2B49#7E2B49

#7E2B49 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 42.0% C 0.118 H 1.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#7E2B49
RGBrgb(126, 43, 73)
HSLhsl(338, 49%, 33%)
HSVhsv(338, 66%, 49%)
CMYKcmyk(0%, 65.9%, 42.1%, 50.6%)
CIE-LABlab(30.99, 38.68, 0.80)
CIE-LCHlch(30.99, 38.69, 1.19°)
OKLaboklab(42.04% 0.1182 0.0025)
OKLCHoklch(42.04% 0.118 1.2)
XYZxyz(10.6714, 6.6457, 7.0228)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B49 #2B7E60
analogous
#7E2B72 #7E2B49 #7E362B
triadic
#7E2B49 #497E2B #2B497E
tetradic
#7E2B49 #727E2B #2B7E60 #362B7E
square
#7E2B49 #727E2B #2B7E60 #362B7E
split-complementary
#7E2B49 #2B7E36 #2B727E
monochromatic
#230C14 #501B2F #7E2B49 #AC3B63 #C75C83

Accessibility & contrast

On white

9.02
#7E2B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E2B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B49
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B49#FFFFFF#000000##FFFFFF
##7E2B491.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3F4A
Deuteranopia (green-blind)
#514F47
Tritanopia (blue-blind)
#892237
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2b49;
/* rgb */ color: rgb(126, 43, 73);
/* oklch */ color: oklch(42.0% 0.118 1.2);
Tailwind
colors: {
  custom: {
    50: '#a76a7b',
    500: '#7e2b49',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b49;
$custom-light: #a76a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b49",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 73
  },
  "hsl": {
    "h": 338.313,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42043,
    "c": 0.11824,
    "h": 1.2
  },
  "luminance": 0.06644
}

Semantic roles & 50–950 ramp

primary
#7E2B49
secondary
#58AD8E
accent
#D9A74F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100709
muted
#7F7A7B

Preview Lab

Preview with #7E2B49

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

Preview Lab → · Contrast checker → · Palette generator →

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