#7D1E47#7D1E47

#7D1E47 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.134 H 358.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7D1E47
RGBrgb(125, 30, 71)
HSLhsl(334, 61%, 30%)
HSVhsv(334, 76%, 49%)
CMYKcmyk(0%, 76%, 43.2%, 51%)
CIE-LABlab(28.76, 43.59, -1.15)
CIE-LCHlch(28.76, 43.60, 358.49°)
OKLaboklab(40.34% 0.1338 -0.0025)
OKLCHoklch(40.34% 0.134 358.9)
XYZxyz(10.0598, 5.7447, 6.5391)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E47 #1E7D54
analogous
#7D1E76 #7D1E47 #7D241E
triadic
#7D1E47 #477D1E #1E477D
tetradic
#7D1E47 #767D1E #1E7D54 #241E7D
square
#7D1E47 #767D1E #1E7D54 #241E7D
split-complementary
#7D1E47 #1E7D24 #1E767D
monochromatic
#1A060F #4C122B #7D1E47 #AE2A63 #D24381

Accessibility & contrast

On white

9.77
#7D1E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E47
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E47#FFFFFF#000000##FFFFFF
##7D1E471.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323848
Deuteranopia (green-blind)
#4C4A45
Tritanopia (blue-blind)
#881030
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1e47;
/* rgb */ color: rgb(125, 30, 71);
/* oklch */ color: oklch(40.3% 0.134 358.9);
Tailwind
colors: {
  custom: {
    50: '#a7637a',
    500: '#7d1e47',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e47;
$custom-light: #a7637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e47",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 71
  },
  "hsl": {
    "h": 334.105,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.4034,
    "c": 0.13379,
    "h": 358.9
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#7D1E47
secondary
#46B083
accent
#E49F43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1E47

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

Preview Lab → · Contrast checker → · Palette generator →

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