#7E2B4F#7E2B4F

#7E2B4F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.3% C 0.121 H 356.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7E2B4F
RGBrgb(126, 43, 79)
HSLhsl(334, 49%, 33%)
HSVhsv(334, 66%, 49%)
CMYKcmyk(0%, 65.9%, 37.3%, 50.6%)
CIE-LABlab(31.18, 39.40, -2.84)
CIE-LCHlch(31.18, 39.50, 355.88°)
OKLaboklab(42.25% 0.1204 -0.007)
OKLCHoklch(42.25% 0.121 356.7)
XYZxyz(10.8800, 6.7291, 8.1215)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B4F #2B7E5A
analogous
#7E2B78 #7E2B4F #7E312B
triadic
#7E2B4F #4F7E2B #2B4F7E
tetradic
#7E2B4F #787E2B #2B7E5A #312B7E
square
#7E2B4F #787E2B #2B7E5A #312B7E
split-complementary
#7E2B4F #2B7E31 #2B787E
monochromatic
#230C16 #501B32 #7E2B4F #AC3B6C #C75C8B

Accessibility & contrast

On white

8.95
#7E2B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7E2B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B4F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B4F#FFFFFF#000000##FFFFFF
##7E2B4F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394050
Deuteranopia (green-blind)
#504F4D
Tritanopia (blue-blind)
#882439
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2b4f;
/* rgb */ color: rgb(126, 43, 79);
/* oklch */ color: oklch(42.3% 0.121 356.7);
Tailwind
colors: {
  custom: {
    50: '#a76a80',
    500: '#7e2b4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b4f;
$custom-light: #a76a80;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b4f",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 333.976,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.12058,
    "h": 356.7
  },
  "luminance": 0.06728
}

Semantic roles & 50–950 ramp

primary
#7E2B4F
secondary
#58AD88
accent
#D99D4F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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