#7E2E65#7E2E65

#7E2E65 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.5% C 0.129 H 341.8°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7E2E65
RGBrgb(126, 46, 101)
HSLhsl(319, 47%, 34%)
HSVhsv(319, 63%, 49%)
CMYKcmyk(0%, 63.5%, 19.8%, 50.6%)
CIE-LABlab(32.55, 41.09, -15.02)
CIE-LCHlch(32.55, 43.75, 339.92°)
OKLaboklab(43.54% 0.1225 -0.0402)
OKLCHoklch(43.54% 0.129 341.8)
XYZxyz(11.9304, 7.3303, 13.0959)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E65 #2E7E47
analogous
#6F2E7E #7E2E65 #7E2E3D
triadic
#7E2E65 #657E2E #2E657E
tetradic
#7E2E65 #7E6F2E #2E7E47 #2E3D7E
square
#7E2E65 #7E6F2E #2E7E47 #2E3D7E
split-complementary
#7E2E65 #3D7E2E #2E7E6F
monochromatic
#240D1D #511E41 #7E2E65 #AB3E89 #C561A6

Accessibility & contrast

On white

8.52
#7E2E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E2E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E65
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E65#FFFFFF#000000##FFFFFF
##7E2E651.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344467
Deuteranopia (green-blind)
#4B5163
Tritanopia (blue-blind)
#862F45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2e65;
/* rgb */ color: rgb(126, 46, 101);
/* oklch */ color: oklch(43.5% 0.129 341.8);
Tailwind
colors: {
  custom: {
    50: '#a66c91',
    500: '#7e2e65',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e65;
$custom-light: #a66c91;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e65",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 318.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.12892,
    "h": 341.8
  },
  "luminance": 0.07329
}

Semantic roles & 50–950 ramp

primary
#7E2E65
secondary
#5CAC75
accent
#D67B52
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2E65

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

Preview Lab → · Contrast checker → · Palette generator →

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