#7E1F41#7E1F41

#7E1F41 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.132 H 3.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E1F41
RGBrgb(126, 31, 65)
HSLhsl(339, 61%, 31%)
HSVhsv(339, 75%, 49%)
CMYKcmyk(0%, 75.4%, 48.4%, 50.6%)
CIE-LABlab(28.90, 42.90, 3.08)
CIE-LCHlch(28.90, 43.01, 4.10°)
OKLaboklab(40.42% 0.1313 0.0084)
OKLCHoklch(40.42% 0.132 3.6)
XYZxyz(10.0491, 5.7986, 5.5901)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F41 #1F7E5C
analogous
#7E1F70 #7E1F41 #7E2C1F
triadic
#7E1F41 #417E1F #1F417E
tetradic
#7E1F41 #707E1F #1F7E5C #2C1F7E
square
#7E1F41 #707E1F #1F7E5C #2C1F7E
split-complementary
#7E1F41 #1F7E2C #1F707E
monochromatic
#1C070E #4D1328 #7E1F41 #AF2B5A #D14678

Accessibility & contrast

On white

9.72
#7E1F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F41
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F41#FFFFFF#000000##FFFFFF
##7E1F411.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353842
Deuteranopia (green-blind)
#4E4B3F
Tritanopia (blue-blind)
#890D2D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1f41;
/* rgb */ color: rgb(126, 31, 65);
/* oklch */ color: oklch(40.4% 0.132 3.6);
Tailwind
colors: {
  custom: {
    50: '#a86375',
    500: '#7e1f41',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f41;
$custom-light: #a86375;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f41",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 338.526,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.13156,
    "h": 3.6
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#7E1F41
secondary
#48B18B
accent
#E4AB44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E1F41

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

Preview Lab → · Contrast checker → · Palette generator →

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