#7E2D5B#7E2D5B

#7E2D5B is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.0% C 0.124 H 348.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7E2D5B
RGBrgb(126, 45, 91)
HSLhsl(326, 47%, 34%)
HSVhsv(326, 64%, 49%)
CMYKcmyk(0%, 64.3%, 27.8%, 50.6%)
CIE-LABlab(31.96, 40.07, -9.48)
CIE-LCHlch(31.96, 41.17, 346.69°)
OKLaboklab(42.97% 0.1213 -0.0248)
OKLCHoklch(42.97% 0.124 348.4)
XYZxyz(11.4314, 7.0689, 10.6579)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D5B #2D7E50
analogous
#782D7E #7E2D5B #7E2D32
triadic
#7E2D5B #5B7E2D #2D5B7E
tetradic
#7E2D5B #7E782D #2D7E50 #2D327E
square
#7E2D5B #7E782D #2D7E50 #2D327E
split-complementary
#7E2D5B #327E2D #2D7E78
monochromatic
#240D1A #511D3A #7E2D5B #AB3D7C #C65F9A

Accessibility & contrast

On white

8.70
#7E2D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7E2D5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D5B
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D5B#FFFFFF#000000##FFFFFF
##7E2D5B1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37425C
Deuteranopia (green-blind)
#4E5059
Tritanopia (blue-blind)
#872A40
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2d5b;
/* rgb */ color: rgb(126, 45, 91);
/* oklch */ color: oklch(43.0% 0.124 348.4);
Tailwind
colors: {
  custom: {
    50: '#a66b89',
    500: '#7e2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d5b;
$custom-light: #a66b89;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d5b",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 325.926,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42974,
    "c": 0.12383,
    "h": 348.4
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#7E2D5B
secondary
#5AAC7E
accent
#D78B51
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070B
muted
#7F7A7C

Preview Lab

Preview with #7E2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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