#7E2463#7E2463

#7E2463 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.142 H 342.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7E2463
RGBrgb(126, 36, 99)
HSLhsl(318, 56%, 32%)
HSVhsv(318, 71%, 49%)
CMYKcmyk(0%, 71.4%, 21.4%, 50.6%)
CIE-LABlab(30.88, 45.16, -16.31)
CIE-LCHlch(30.88, 48.01, 340.15°)
OKLaboklab(42.29% 0.1353 -0.0437)
OKLCHoklch(42.29% 0.142 342.1)
XYZxyz(11.4875, 6.5993, 12.4708)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2463 #247E3F
analogous
#6C247E #7E2463 #7E2436
triadic
#7E2463 #637E24 #24637E
tetradic
#7E2463 #7E6C24 #247E3F #24367E
square
#7E2463 #7E6C24 #247E3F #24367E
split-complementary
#7E2463 #367E24 #247E6C
monochromatic
#1F0918 #4E163E #7E2463 #AE3288 #CD50A7

Accessibility & contrast

On white

9.05
#7E2463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E2463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2463
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2463#FFFFFF#000000##FFFFFF
##7E24631.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F65
Deuteranopia (green-blind)
#474E61
Tritanopia (blue-blind)
#862540
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2463;
/* rgb */ color: rgb(126, 36, 99);
/* oklch */ color: oklch(42.3% 0.142 342.1);
Tailwind
colors: {
  custom: {
    50: '#a7678f',
    500: '#7e2463',
    950: '#000000',
  },
}
SCSS
$custom: #7e2463;
$custom-light: #a7678f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2463",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 99
  },
  "hsl": {
    "h": 318,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42287,
    "c": 0.14218,
    "h": 342.1
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#7E2463
secondary
#4EB06B
accent
#DF7649
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E2463

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

Preview Lab → · Contrast checker → · Palette generator →

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