#7E1F3D#7E1F3D

#7E1F3D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.3% C 0.131 H 6.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7E1F3D
RGBrgb(126, 31, 61)
HSLhsl(341, 61%, 31%)
HSVhsv(341, 75%, 49%)
CMYKcmyk(0%, 75.4%, 51.6%, 50.6%)
CIE-LABlab(28.78, 42.52, 5.59)
CIE-LCHlch(28.78, 42.88, 7.48°)
OKLaboklab(40.29% 0.1297 0.0146)
OKLCHoklch(40.29% 0.131 6.4)
XYZxyz(9.9373, 5.7539, 5.0013)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F3D #1F7E60
analogous
#7E1F6C #7E1F3D #7E301F
triadic
#7E1F3D #3D7E1F #1F3D7E
tetradic
#7E1F3D #6C7E1F #1F7E60 #301F7E
square
#7E1F3D #6C7E1F #1F7E60 #301F7E
split-complementary
#7E1F3D #1F7E30 #1F6C7E
monochromatic
#1C070D #4D1325 #7E1F3D #AF2B55 #D14672

Accessibility & contrast

On white

9.76
#7E1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F3D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F3D#FFFFFF#000000##FFFFFF
##7E1F3D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36383E
Deuteranopia (green-blind)
#4F4B3B
Tritanopia (blue-blind)
#8A0B2B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1f3d;
/* rgb */ color: rgb(126, 31, 61);
/* oklch */ color: oklch(40.3% 0.131 6.4);
Tailwind
colors: {
  custom: {
    50: '#a86372',
    500: '#7e1f3d',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f3d;
$custom-light: #a86372;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f3d",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 341.053,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40293,
    "c": 0.13055,
    "h": 6.4
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#7E1F3D
secondary
#48B190
accent
#E4B144
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E1F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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