#7E2D67#7E2D67

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

Color values

HEX#7E2D67
RGBrgb(126, 45, 103)
HSLhsl(317, 47%, 34%)
HSVhsv(317, 64%, 49%)
CMYKcmyk(0%, 64.3%, 18.3%, 50.6%)
CIE-LABlab(32.46, 41.87, -16.43)
CIE-LCHlch(32.46, 44.98, 338.58°)
OKLaboklab(43.51% 0.1243 -0.0441)
OKLCHoklch(43.51% 0.132 340.5)
XYZxyz(11.9910, 7.2927, 13.6054)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D67 #2D7E44
analogous
#6C2D7E #7E2D67 #7E2D3E
triadic
#7E2D67 #677E2D #2D677E
tetradic
#7E2D67 #7E6C2D #2D7E44 #2D3E7E
square
#7E2D67 #7E6C2D #2D7E44 #2D3E7E
split-complementary
#7E2D67 #3E7E2D #2D7E6C
monochromatic
#240D1D #511D42 #7E2D67 #AB3D8C #C65FA9

Accessibility & contrast

On white

8.54
#7E2D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7E2D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D67
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D67#FFFFFF#000000##FFFFFF
##7E2D671.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324469
Deuteranopia (green-blind)
#4A5165
Tritanopia (blue-blind)
#852F45
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2d67;
/* rgb */ color: rgb(126, 45, 103);
/* oklch */ color: oklch(43.5% 0.132 340.5);
Tailwind
colors: {
  custom: {
    50: '#a66b92',
    500: '#7e2d67',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d67;
$custom-light: #a66b92;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d67",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 317.037,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43507,
    "c": 0.13195,
    "h": 340.5
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#7E2D67
secondary
#5AAC72
accent
#D77751
background
#FAF6F9
surface
#F4ECF1
border
#CEC7CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2D67

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

Preview Lab → · Contrast checker → · Palette generator →

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