#7E2F63#7E2F63

#7E2F63 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.6% C 0.126 H 343.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7E2F63
RGBrgb(126, 47, 99)
HSLhsl(321, 46%, 34%)
HSVhsv(321, 63%, 49%)
CMYKcmyk(0%, 62.7%, 21.4%, 50.6%)
CIE-LABlab(32.64, 40.31, -13.60)
CIE-LCHlch(32.64, 42.54, 341.35°)
OKLaboklab(43.58% 0.1206 -0.0363)
OKLCHoklch(43.58% 0.126 343.3)
XYZxyz(11.8732, 7.3706, 12.5993)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F63 #2F7E4A
analogous
#722F7E #7E2F63 #7E2F3C
triadic
#7E2F63 #637E2F #2F637E
tetradic
#7E2F63 #7E722F #2F7E4A #2F3C7E
square
#7E2F63 #7E722F #2F7E4A #2F3C7E
split-complementary
#7E2F63 #3C7E2F #2F7E72
monochromatic
#250E1D #511E40 #7E2F63 #AB4086 #C563A3

Accessibility & contrast

On white

8.49
#7E2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F63
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F63#FFFFFF#000000##FFFFFF
##7E2F631.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354465
Deuteranopia (green-blind)
#4C5261
Tritanopia (blue-blind)
#862F44
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e2f63;
/* rgb */ color: rgb(126, 47, 99);
/* oklch */ color: oklch(43.6% 0.126 343.3);
Tailwind
colors: {
  custom: {
    50: '#a66c8f',
    500: '#7e2f63',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f63;
$custom-light: #a66c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f63",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 320.506,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43577,
    "c": 0.12592,
    "h": 343.3
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#7E2F63
secondary
#5DAC78
accent
#D57F52
background
#FAF6F8
surface
#F4ECF0
border
#CEC7CB
text
#10070C
muted
#7F7A7D

Preview Lab

Preview with #7E2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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