#7E1F49#7E1F49

#7E1F49 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.134 H 358.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E1F49
RGBrgb(126, 31, 73)
HSLhsl(333, 61%, 31%)
HSVhsv(333, 75%, 49%)
CMYKcmyk(0%, 75.4%, 42.1%, 50.6%)
CIE-LABlab(29.15, 43.73, -1.88)
CIE-LCHlch(29.15, 43.77, 357.54°)
OKLaboklab(40.69% 0.1342 -0.0044)
OKLCHoklch(40.69% 0.134 358.1)
XYZxyz(10.2975, 5.8979, 6.8982)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1F49 #1F7E54
analogous
#7E1F78 #7E1F49 #7E241F
triadic
#7E1F49 #497E1F #1F497E
tetradic
#7E1F49 #787E1F #1F7E54 #241F7E
square
#7E1F49 #787E1F #1F7E54 #241F7E
split-complementary
#7E1F49 #1F7E24 #1F787E
monochromatic
#1C0710 #4D132D #7E1F49 #AF2B65 #D14684

Accessibility & contrast

On white

9.64
#7E1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1F49
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1F49#FFFFFF#000000##FFFFFF
##7E1F491.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33394A
Deuteranopia (green-blind)
#4D4B47
Tritanopia (blue-blind)
#891231
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1f49;
/* rgb */ color: rgb(126, 31, 73);
/* oklch */ color: oklch(40.7% 0.134 358.1);
Tailwind
colors: {
  custom: {
    50: '#a8647b',
    500: '#7e1f49',
    950: '#000000',
  },
}
SCSS
$custom: #7e1f49;
$custom-light: #a8647b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1f49",
  "rgb": {
    "r": 126,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 333.474,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40688,
    "c": 0.13428,
    "h": 358.1
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#7E1F49
secondary
#48B183
accent
#E49D44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7E1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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