#7E2D61#7E2D61

#7E2D61 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.2% C 0.128 H 344.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7E2D61
RGBrgb(126, 45, 97)
HSLhsl(321, 47%, 34%)
HSVhsv(321, 64%, 49%)
CMYKcmyk(0%, 64.3%, 23%, 50.6%)
CIE-LABlab(32.21, 40.95, -12.98)
CIE-LCHlch(32.21, 42.95, 342.41°)
OKLaboklab(43.23% 0.1229 -0.0345)
OKLCHoklch(43.23% 0.128 344.3)
XYZxyz(11.7006, 7.1766, 12.0759)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D61 #2D7E4A
analogous
#722D7E #7E2D61 #7E2D39
triadic
#7E2D61 #617E2D #2D617E
tetradic
#7E2D61 #7E722D #2D7E4A #2D397E
square
#7E2D61 #7E722D #2D7E4A #2D397E
split-complementary
#7E2D61 #397E2D #2D7E72
monochromatic
#240D1C #511D3E #7E2D61 #AB3D84 #C65FA1

Accessibility & contrast

On white

8.62
#7E2D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7E2D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D61
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D61#FFFFFF#000000##FFFFFF
##7E2D611.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344363
Deuteranopia (green-blind)
#4C515F
Tritanopia (blue-blind)
#862C43
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2d61;
/* rgb */ color: rgb(126, 45, 97);
/* oklch */ color: oklch(43.2% 0.128 344.3);
Tailwind
colors: {
  custom: {
    50: '#a66b8e',
    500: '#7e2d61',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d61;
$custom-light: #a66b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d61",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 321.481,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43232,
    "c": 0.12769,
    "h": 344.3
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#7E2D61
secondary
#5AAC78
accent
#D78151
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2D61

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

Preview Lab → · Contrast checker → · Palette generator →

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