#7E2B62#7E2B62

#7E2B62 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.131 H 343.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#7E2B62
RGBrgb(126, 43, 98)
HSLhsl(320, 49%, 33%)
HSVhsv(320, 66%, 49%)
CMYKcmyk(0%, 65.9%, 22.2%, 50.6%)
CIE-LABlab(31.91, 42.02, -14.07)
CIE-LCHlch(31.91, 44.31, 341.49°)
OKLaboklab(43.03% 0.126 -0.0375)
OKLCHoklch(43.03% 0.131 343.4)
XYZxyz(11.6730, 7.0463, 12.2982)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B62 #2B7E47
analogous
#702B7E #7E2B62 #7E2B38
triadic
#7E2B62 #627E2B #2B627E
tetradic
#7E2B62 #7E702B #2B7E47 #2B387E
square
#7E2B62 #7E702B #2B7E47 #2B387E
split-complementary
#7E2B62 #387E2B #2B7E70
monochromatic
#230C1B #501B3F #7E2B62 #AC3B85 #C75CA3

Accessibility & contrast

On white

8.72
#7E2B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2B62
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B62#FFFFFF#000000##FFFFFF
##7E2B621.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324264
Deuteranopia (green-blind)
#4B5060
Tritanopia (blue-blind)
#862B42
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2b62;
/* rgb */ color: rgb(126, 43, 98);
/* oklch */ color: oklch(43.0% 0.131 343.4);
Tailwind
colors: {
  custom: {
    50: '#a66a8e',
    500: '#7e2b62',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b62;
$custom-light: #a66a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b62",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 320.241,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4303,
    "c": 0.13145,
    "h": 343.4
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#7E2B62
secondary
#58AD74
accent
#D97E4F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2B62

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

Preview Lab → · Contrast checker → · Palette generator →

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