#7E2452#7E2452

#7E2452 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.5% C 0.132 H 353.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7E2452
RGBrgb(126, 36, 82)
HSLhsl(329, 56%, 32%)
HSVhsv(329, 71%, 49%)
CMYKcmyk(0%, 71.4%, 34.9%, 50.6%)
CIE-LABlab(30.18, 42.83, -6.30)
CIE-LCHlch(30.18, 43.29, 351.63°)
OKLaboklab(41.54% 0.131 -0.0162)
OKLCHoklch(41.54% 0.132 353)
XYZxyz(10.7587, 6.3078, 8.6320)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2452 #247E50
analogous
#7D247E #7E2452 #7E2425
triadic
#7E2452 #527E24 #24527E
tetradic
#7E2452 #7E7D24 #247E50 #24257E
square
#7E2452 #7E7D24 #247E50 #24257E
split-complementary
#7E2452 #257E24 #247E7D
monochromatic
#1F0914 #4E1633 #7E2452 #AE3271 #CD5090

Accessibility & contrast

On white

9.29
#7E2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2452
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2452#FFFFFF#000000##FFFFFF
##7E24521.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#4C4D50
Tritanopia (blue-blind)
#881D37
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2452;
/* rgb */ color: rgb(126, 36, 82);
/* oklch */ color: oklch(41.5% 0.132 353.0);
Tailwind
colors: {
  custom: {
    50: '#a76682',
    500: '#7e2452',
    950: '#000000',
  },
}
SCSS
$custom: #7e2452;
$custom-light: #a76682;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2452",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 329.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41544,
    "c": 0.13195,
    "h": 353
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#7E2452
secondary
#4EB07E
accent
#DF9249
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7E2452

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

Preview Lab → · Contrast checker → · Palette generator →

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