#7E2967#7E2967

#7E2967 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.0% C 0.138 H 340.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7E2967
RGBrgb(126, 41, 103)
HSLhsl(316, 51%, 33%)
HSVhsv(316, 67%, 49%)
CMYKcmyk(0%, 67.5%, 18.3%, 50.6%)
CIE-LABlab(31.81, 43.67, -17.44)
CIE-LCHlch(31.81, 47.02, 338.23°)
OKLaboklab(43.03% 0.1298 -0.0469)
OKLCHoklch(43.03% 0.138 340.1)
XYZxyz(11.8456, 7.0018, 13.5570)
Luminance0.0700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2967 #297E40
analogous
#6A297E #7E2967 #7E293D
triadic
#7E2967 #677E29 #29677E
tetradic
#7E2967 #7E6A29 #297E40 #293D7E
square
#7E2967 #7E6A29 #297E40 #293D7E
split-complementary
#7E2967 #3D7E29 #297E6A
monochromatic
#220B1C #501A41 #7E2967 #AC388D #C959AA

Accessibility & contrast

On white

8.75
#7E2967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E2967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2967
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2967#FFFFFF#000000##FFFFFF
##7E29671.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2967;
/* rgb */ color: rgb(126, 41, 103);
/* oklch */ color: oklch(43.0% 0.138 340.1);
Tailwind
colors: {
  custom: {
    50: '#a66992',
    500: '#7e2967',
    950: '#000000',
  },
}
SCSS
$custom: #7e2967;
$custom-light: #a66992;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2967",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 103
  },
  "hsl": {
    "h": 316.235,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43029,
    "c": 0.13798,
    "h": 340.1
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#7E2967
secondary
#55AE6D
accent
#DA744D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10070D
muted
#7F7A7E

Preview Lab

Preview with #7E2967

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

Preview Lab → · Contrast checker → · Palette generator →

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