#7E2A67#7E2A67

#7E2A67 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.1% C 0.137 H 340.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7E2A67
RGBrgb(126, 42, 103)
HSLhsl(316, 50%, 33%)
HSVhsv(316, 67%, 49%)
CMYKcmyk(0%, 66.7%, 18.3%, 50.6%)
CIE-LABlab(31.97, 43.23, -17.19)
CIE-LCHlch(31.97, 46.52, 338.31°)
OKLaboklab(43.15% 0.1284 -0.0463)
OKLCHoklch(43.15% 0.137 340.2)
XYZxyz(11.8806, 7.0719, 13.5686)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A67 #2A7E41
analogous
#6B2A7E #7E2A67 #7E2A3D
triadic
#7E2A67 #677E2A #2A677E
tetradic
#7E2A67 #7E6B2A #2A7E41 #2A3D7E
square
#7E2A67 #7E6B2A #2A7E41 #2A3D7E
split-complementary
#7E2A67 #3D7E2A #2A7E6B
monochromatic
#220B1C #501B41 #7E2A67 #AC398D #C85AAA

Accessibility & contrast

On white

8.70
#7E2A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A67
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A67#FFFFFF#000000##FFFFFF
##7E2A671.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4369
Deuteranopia (green-blind)
#485065
Tritanopia (blue-blind)
#852C44
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e2a67;
/* rgb */ color: rgb(126, 42, 103);
/* oklch */ color: oklch(43.1% 0.137 340.2);
Tailwind
colors: {
  custom: {
    50: '#a66a92',
    500: '#7e2a67',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a67;
$custom-light: #a66a92;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a67",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 316.429,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43145,
    "c": 0.13651,
    "h": 340.2
  },
  "luminance": 0.07071
}

Semantic roles & 50–950 ramp

primary
#7E2A67
secondary
#56AE6E
accent
#DA744E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2A67

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

Preview Lab → · Contrast checker → · Palette generator →

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