#7E1A45#7E1A45

#7E1A45 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.138 H 359.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#7E1A45
RGBrgb(126, 26, 69)
HSLhsl(334, 66%, 30%)
HSVhsv(334, 79%, 49%)
CMYKcmyk(0%, 79.4%, 45.2%, 50.6%)
CIE-LABlab(28.39, 45.07, -0.33)
CIE-LCHlch(28.39, 45.07, 359.58°)
OKLaboklab(40.09% 0.1384 -0.0003)
OKLCHoklch(40.09% 0.138 359.9)
XYZxyz(10.0485, 5.6054, 6.1819)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1A45 #1A7E53
analogous
#7E1A77 #7E1A45 #7E211A
triadic
#7E1A45 #457E1A #1A457E
tetradic
#7E1A45 #777E1A #1A7E53 #211A7E
square
#7E1A45 #777E1A #1A7E53 #211A7E
split-complementary
#7E1A45 #1A7E21 #1A777E
monochromatic
#19050E #4B1029 #7E1A45 #B12461 #D73C7E

Accessibility & contrast

On white

9.90
#7E1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1A45
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1A45#FFFFFF#000000##FFFFFF
##7E1A451.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#4C4A43
Tritanopia (blue-blind)
#89072D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1a45;
/* rgb */ color: rgb(126, 26, 69);
/* oklch */ color: oklch(40.1% 0.138 359.9);
Tailwind
colors: {
  custom: {
    50: '#a86178',
    500: '#7e1a45',
    950: '#000000',
  },
}
SCSS
$custom: #7e1a45;
$custom-light: #a86178;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1a45",
  "rgb": {
    "r": 126,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 334.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40086,
    "c": 0.13844,
    "h": 359.9
  },
  "luminance": 0.05604
}

Semantic roles & 50–950 ramp

primary
#7E1A45
secondary
#42B282
accent
#E9A03F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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