#7D1E4D#7D1E4D

#7D1E4D is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.136 H 354.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7D1E4D
RGBrgb(125, 30, 77)
HSLhsl(330, 61%, 30%)
HSVhsv(330, 76%, 49%)
CMYKcmyk(0%, 76%, 38.4%, 51%)
CIE-LABlab(28.97, 44.26, -4.83)
CIE-LCHlch(28.97, 44.52, 353.77°)
OKLaboklab(40.56% 0.1358 -0.0122)
OKLCHoklch(40.56% 0.136 354.9)
XYZxyz(10.2619, 5.8256, 7.6038)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E4D #1E7D4E
analogous
#7D1E7C #7D1E4D #7D1F1E
triadic
#7D1E4D #4D7D1E #1E4D7D
tetradic
#7D1E4D #7C7D1E #1E7D4E #1F1E7D
square
#7D1E4D #7C7D1E #1E7D4E #1F1E7D
split-complementary
#7D1E4D #1E7D1F #1E7C7D
monochromatic
#1A0610 #4C122F #7D1E4D #AE2A6B #D2438A

Accessibility & contrast

On white

9.70
#7D1E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E4D
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E4D#FFFFFF#000000##FFFFFF
##7D1E4D1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394E
Deuteranopia (green-blind)
#4B4B4B
Tritanopia (blue-blind)
#871433
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1e4d;
/* rgb */ color: rgb(125, 30, 77);
/* oklch */ color: oklch(40.6% 0.136 354.9);
Tailwind
colors: {
  custom: {
    50: '#a7637e',
    500: '#7d1e4d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e4d;
$custom-light: #a7637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e4d",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 330.316,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.13633,
    "h": 354.9
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#7D1E4D
secondary
#46B07C
accent
#E49543
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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