#7E2D55#7E2D55

#7E2D55 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 42.7% C 0.120 H 352.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7E2D55
RGBrgb(126, 45, 85)
HSLhsl(330, 47%, 34%)
HSVhsv(330, 64%, 49%)
CMYKcmyk(0%, 64.3%, 32.5%, 50.6%)
CIE-LABlab(31.74, 39.24, -5.93)
CIE-LCHlch(31.74, 39.69, 351.41°)
OKLaboklab(42.73% 0.1195 -0.0152)
OKLCHoklch(42.73% 0.12 352.7)
XYZxyz(11.1828, 6.9694, 9.3489)
Luminance0.0697 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D55 #2D7E56
analogous
#7E2D7D #7E2D55 #7E2D2D
triadic
#7E2D55 #557E2D #2D557E
tetradic
#7E2D55 #7D7E2D #2D7E56 #2D2D7E
square
#7E2D55 #7D7E2D #2D7E56 #2D2D7E
split-complementary
#7E2D55 #2D7E2D #2D7D7E
monochromatic
#240D18 #511D37 #7E2D55 #AB3D73 #C65F92

Accessibility & contrast

On white

8.77
#7E2D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E2D55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D55
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D55#FFFFFF#000000##FFFFFF
##7E2D551.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394156
Deuteranopia (green-blind)
#4F5053
Tritanopia (blue-blind)
#87283D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2d55;
/* rgb */ color: rgb(126, 45, 85);
/* oklch */ color: oklch(42.7% 0.120 352.7);
Tailwind
colors: {
  custom: {
    50: '#a66b84',
    500: '#7e2d55',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d55;
$custom-light: #a66b84;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d55",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 85
  },
  "hsl": {
    "h": 330.37,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.12043,
    "h": 352.7
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

primary
#7E2D55
secondary
#5AAC84
accent
#D79551
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E2D55

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

Preview Lab → · Contrast checker → · Palette generator →

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