#7E1F67#7E1F67

#7E1F67 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 42.0% C 0.151 H 339.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7E1F67
RGBrgb(126, 31, 103)
HSLhsl(315, 61%, 31%)
HSVhsv(315, 75%, 49%)
CMYKcmyk(0%, 75.4%, 18.3%, 50.6%)
CIE-LABlab(30.39, 47.65, -19.64)
CIE-LCHlch(30.39, 51.53, 337.60°)
OKLaboklab(42% 0.1417 -0.0531)
OKLCHoklch(42% 0.151 339.5)
XYZxyz(11.5426, 6.3960, 13.4560)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F67 #1F7E36
analogous
#651F7E #7E1F67 #7E1F37
triadic
#7E1F67 #677E1F #1F677E
tetradic
#7E1F67 #7E651F #1F7E36 #1F377E
square
#7E1F67 #7E651F #1F7E36 #1F377E
split-complementary
#7E1F67 #377E1F #1F7E65
monochromatic
#1C0717 #4D133F #7E1F67 #AF2B8F #D146B0

Accessibility & contrast

On white

9.21
#7E1F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E1F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F67
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F67#FFFFFF#000000##FFFFFF
##7E1F671.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E69
Deuteranopia (green-blind)
#444D65
Tritanopia (blue-blind)
#862340
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e1f67;
/* rgb */ color: rgb(126, 31, 103);
/* oklch */ color: oklch(42.0% 0.151 339.5);
Tailwind
colors: {
  custom: {
    50: '#a76592',
    500: '#7e1f67',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f67;
$custom-light: #a76592;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f67",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 103
  },
  "hsl": {
    "h": 314.526,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41995,
    "c": 0.15137,
    "h": 339.5
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#7E1F67
secondary
#48B161
accent
#E46B44
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7E1F67

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

Preview Lab → · Contrast checker → · Palette generator →

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