#7E1F65#7E1F65

#7E1F65 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.9% C 0.150 H 340.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#7E1F65
RGBrgb(126, 31, 101)
HSLhsl(316, 61%, 31%)
HSVhsv(316, 75%, 49%)
CMYKcmyk(0%, 75.4%, 19.8%, 50.6%)
CIE-LABlab(30.29, 47.35, -18.50)
CIE-LCHlch(30.29, 50.83, 338.66°)
OKLaboklab(41.89% 0.1414 -0.0498)
OKLCHoklch(41.89% 0.15 340.6)
XYZxyz(11.4435, 6.3563, 12.9336)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F65 #1F7E38
analogous
#671F7E #7E1F65 #7E1F36
triadic
#7E1F65 #657E1F #1F657E
tetradic
#7E1F65 #7E671F #1F7E38 #1F367E
square
#7E1F65 #7E671F #1F7E38 #1F367E
split-complementary
#7E1F65 #367E1F #1F7E67
monochromatic
#1C0716 #4D133E #7E1F65 #AF2B8C #D146AD

Accessibility & contrast

On white

9.25
#7E1F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7E1F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F65
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F65#FFFFFF#000000##FFFFFF
##7E1F651.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263E67
Deuteranopia (green-blind)
#454D63
Tritanopia (blue-blind)
#86223F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1f65;
/* rgb */ color: rgb(126, 31, 101);
/* oklch */ color: oklch(41.9% 0.150 340.6);
Tailwind
colors: {
  custom: {
    50: '#a76591',
    500: '#7e1f65',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f65;
$custom-light: #a76591;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f65",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 315.789,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41894,
    "c": 0.14996,
    "h": 340.6
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#7E1F65
secondary
#48B163
accent
#E46E44
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1F65

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

Preview Lab → · Contrast checker → · Palette generator →

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