#7E1B65#7E1B65

#7E1B65 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.155 H 340.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7E1B65
RGBrgb(126, 27, 101)
HSLhsl(315, 65%, 30%)
HSVhsv(315, 79%, 49%)
CMYKcmyk(0%, 78.6%, 19.8%, 50.6%)
CIE-LABlab(29.81, 48.72, -19.24)
CIE-LCHlch(29.81, 52.38, 338.45°)
OKLaboklab(41.55% 0.1456 -0.0519)
OKLCHoklch(41.55% 0.155 340.4)
XYZxyz(11.3454, 6.1602, 12.9009)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1B65 #1B7E34
analogous
#661B7E #7E1B65 #7E1B33
triadic
#7E1B65 #657E1B #1B657E
tetradic
#7E1B65 #7E661B #1B7E34 #1B337E
square
#7E1B65 #7E661B #1B7E34 #1B337E
split-complementary
#7E1B65 #337E1B #1B7E66
monochromatic
#190514 #4C103D #7E1B65 #B0268D #D63EAF

Accessibility & contrast

On white

9.41
#7E1B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E1B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1B65
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1B65#FFFFFF#000000##FFFFFF
##7E1B651.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233C67
Deuteranopia (green-blind)
#434C63
Tritanopia (blue-blind)
#861E3E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e1b65;
/* rgb */ color: rgb(126, 27, 101);
/* oklch */ color: oklch(41.5% 0.155 340.4);
Tailwind
colors: {
  custom: {
    50: '#a76391',
    500: '#7e1b65',
    950: '#000000',
  },
}
SCSS
$custom: #7e1b65;
$custom-light: #a76391;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1b65",
  "rgb": {
    "r": 126,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 315.152,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.15457,
    "h": 340.4
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#7E1B65
secondary
#43B25F
accent
#E86A40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1B65

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

Preview Lab → · Contrast checker → · Palette generator →

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