#7E1F60#7E1F60

#7E1F60 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.147 H 343.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7E1F60
RGBrgb(126, 31, 96)
HSLhsl(319, 61%, 31%)
HSVhsv(319, 75%, 49%)
CMYKcmyk(0%, 75.4%, 23.8%, 50.6%)
CIE-LABlab(30.06, 46.63, -15.62)
CIE-LCHlch(30.06, 49.17, 341.48°)
OKLaboklab(41.65% 0.1405 -0.0417)
OKLCHoklch(41.65% 0.147 343.5)
XYZxyz(11.2059, 6.2613, 11.6825)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F60 #1F7E3D
analogous
#6C1F7E #7E1F60 #7E1F30
triadic
#7E1F60 #607E1F #1F607E
tetradic
#7E1F60 #7E6C1F #1F7E3D #1F307E
square
#7E1F60 #7E6C1F #1F7E3D #1F307E
split-complementary
#7E1F60 #307E1F #1F7E6C
monochromatic
#1C0715 #4D133B #7E1F60 #AF2B85 #D146A5

Accessibility & contrast

On white

9.33
#7E1F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E1F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F60
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F60#FFFFFF#000000##FFFFFF
##7E1F601.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293D62
Deuteranopia (green-blind)
#464C5E
Tritanopia (blue-blind)
#861F3D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e1f60;
/* rgb */ color: rgb(126, 31, 96);
/* oklch */ color: oklch(41.6% 0.147 343.5);
Tailwind
colors: {
  custom: {
    50: '#a7648d',
    500: '#7e1f60',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f60;
$custom-light: #a7648d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f60",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 96
  },
  "hsl": {
    "h": 318.947,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.1466,
    "h": 343.5
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#7E1F60
secondary
#48B169
accent
#E47744
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7E1F60

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

Preview Lab → · Contrast checker → · Palette generator →

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