#7E2B52#7E2B52

#7E2B52 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.4% C 0.122 H 354.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7E2B52
RGBrgb(126, 43, 82)
HSLhsl(332, 49%, 33%)
HSVhsv(332, 66%, 49%)
CMYKcmyk(0%, 65.9%, 34.9%, 50.6%)
CIE-LABlab(31.29, 39.78, -4.65)
CIE-LCHlch(31.29, 40.05, 353.34°)
OKLaboklab(42.36% 0.1214 -0.0118)
OKLCHoklch(42.36% 0.122 354.5)
XYZxyz(10.9916, 6.7738, 8.7096)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B52 #2B7E57
analogous
#7E2B7B #7E2B52 #7E2D2B
triadic
#7E2B52 #527E2B #2B527E
tetradic
#7E2B52 #7B7E2B #2B7E57 #2D2B7E
square
#7E2B52 #7B7E2B #2B7E57 #2D2B7E
split-complementary
#7E2B52 #2B7E2D #2B7B7E
monochromatic
#230C17 #501B34 #7E2B52 #AC3B70 #C75C8E

Accessibility & contrast

On white

8.92
#7E2B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B52
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B52#FFFFFF#000000##FFFFFF
##7E2B521.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384053
Deuteranopia (green-blind)
#4F4F50
Tritanopia (blue-blind)
#88253B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2b52;
/* rgb */ color: rgb(126, 43, 82);
/* oklch */ color: oklch(42.4% 0.122 354.5);
Tailwind
colors: {
  custom: {
    50: '#a76a82',
    500: '#7e2b52',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b52;
$custom-light: #a76a82;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b52",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 331.807,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.12197,
    "h": 354.5
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#7E2B52
secondary
#58AD85
accent
#D9984F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2B52

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

Preview Lab → · Contrast checker → · Palette generator →

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