#7E2E68#7E2E68

#7E2E68 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.7% C 0.131 H 339.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7E2E68
RGBrgb(126, 46, 104)
HSLhsl(317, 47%, 34%)
HSVhsv(317, 63%, 49%)
CMYKcmyk(0%, 63.5%, 17.5%, 50.6%)
CIE-LABlab(32.68, 41.57, -16.74)
CIE-LCHlch(32.68, 44.81, 338.07°)
OKLaboklab(43.68% 0.1232 -0.045)
OKLCHoklch(43.68% 0.131 339.9)
XYZxyz(12.0801, 7.3901, 13.8842)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E68 #2E7E44
analogous
#6C2E7E #7E2E68 #7E2E40
triadic
#7E2E68 #687E2E #2E687E
tetradic
#7E2E68 #7E6C2E #2E7E44 #2E407E
square
#7E2E68 #7E6C2E #2E7E44 #2E407E
split-complementary
#7E2E68 #407E2E #2E7E6C
monochromatic
#240D1E #511E43 #7E2E68 #AB3E8D #C561AA

Accessibility & contrast

On white

8.48
#7E2E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7E2E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E68
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E68#FFFFFF#000000##FFFFFF
##7E2E681.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32456A
Deuteranopia (green-blind)
#4A5266
Tritanopia (blue-blind)
#853046
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2e68;
/* rgb */ color: rgb(126, 46, 104);
/* oklch */ color: oklch(43.7% 0.131 339.9);
Tailwind
colors: {
  custom: {
    50: '#a66c93',
    500: '#7e2e68',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e68;
$custom-light: #a66c93;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e68",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 316.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4368,
    "c": 0.13113,
    "h": 339.9
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#7E2E68
secondary
#5CAC72
accent
#D67652
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2E68

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

Preview Lab → · Contrast checker → · Palette generator →

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