#7E1949#7E1949

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

Color values

HEX#7E1949
RGBrgb(126, 25, 73)
HSLhsl(331, 67%, 30%)
HSVhsv(331, 80%, 49%)
CMYKcmyk(0%, 80.2%, 42.1%, 50.6%)
CIE-LABlab(28.41, 45.81, -2.97)
CIE-LCHlch(28.41, 45.91, 356.29°)
OKLaboklab(40.15% 0.1409 -0.0072)
OKLCHoklch(40.15% 0.141 357.1)
XYZxyz(10.1552, 5.6132, 6.8507)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1949 #197E4E
analogous
#7E197C #7E1949 #7E1C19
triadic
#7E1949 #497E19 #19497E
tetradic
#7E1949 #7C7E19 #197E4E #1C197E
square
#7E1949 #7C7E19 #197E4E #1C197E
split-complementary
#7E1949 #197E1C #197C7E
monochromatic
#1A050F #4B0F2B #7E1949 #B12367 #D83A85

Accessibility & contrast

On white

9.89
#7E1949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1949
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1949#FFFFFF#000000##FFFFFF
##7E19491.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F374A
Deuteranopia (green-blind)
#4B4A47
Tritanopia (blue-blind)
#89082F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1949;
/* rgb */ color: rgb(126, 25, 73);
/* oklch */ color: oklch(40.1% 0.141 357.1);
Tailwind
colors: {
  custom: {
    50: '#a8617b',
    500: '#7e1949',
    950: '#000000',
  },
}
SCSS
$custom: #7e1949;
$custom-light: #a8617b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1949",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 73
  },
  "hsl": {
    "h": 331.485,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.14104,
    "h": 357.1
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#7E1949
secondary
#41B27C
accent
#EA983E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7E1949

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

Preview Lab → · Contrast checker → · Palette generator →

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