#7E2D52#7E2D52

#7E2D52 is a dark, moderate pink. Relative luminance 0.069; OKLCH L 42.6% C 0.119 H 355.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7E2D52
RGBrgb(126, 45, 82)
HSLhsl(333, 47%, 34%)
HSVhsv(333, 64%, 49%)
CMYKcmyk(0%, 64.3%, 34.9%, 50.6%)
CIE-LABlab(31.63, 38.85, -4.13)
CIE-LCHlch(31.63, 39.06, 353.92°)
OKLaboklab(42.62% 0.1185 -0.0104)
OKLCHoklch(42.62% 0.119 355)
XYZxyz(11.0661, 6.9228, 8.7345)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D52 #2D7E59
analogous
#7E2D7A #7E2D52 #7E312D
triadic
#7E2D52 #527E2D #2D527E
tetradic
#7E2D52 #7A7E2D #2D7E59 #312D7E
square
#7E2D52 #7A7E2D #2D7E59 #312D7E
split-complementary
#7E2D52 #2D7E31 #2D7A7E
monochromatic
#240D17 #511D35 #7E2D52 #AB3D6F #C65F8E

Accessibility & contrast

On white

8.81
#7E2D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7E2D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D52
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D52#FFFFFF#000000##FFFFFF
##7E2D521.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4153
Deuteranopia (green-blind)
#505050
Tritanopia (blue-blind)
#88273C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7e2d52;
/* rgb */ color: rgb(126, 45, 82);
/* oklch */ color: oklch(42.6% 0.119 355.0);
Tailwind
colors: {
  custom: {
    50: '#a76b82',
    500: '#7e2d52',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d52;
$custom-light: #a76b82;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d52",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 332.593,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.11894,
    "h": 355
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#7E2D52
secondary
#5AAC87
accent
#D79A51
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10070A
muted
#7F7A7C

Preview Lab

Preview with #7E2D52

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

Preview Lab → · Contrast checker → · Palette generator →

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