#7D1C4D#7D1C4D

#7D1C4D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.139 H 354.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7D1C4D
RGBrgb(125, 28, 77)
HSLhsl(330, 63%, 30%)
HSVhsv(330, 78%, 49%)
CMYKcmyk(0%, 77.6%, 38.4%, 51%)
CIE-LABlab(28.71, 44.97, -5.21)
CIE-LCHlch(28.71, 45.27, 353.39°)
OKLaboklab(40.38% 0.138 -0.0132)
OKLCHoklch(40.38% 0.139 354.5)
XYZxyz(10.2129, 5.7276, 7.5875)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C4D #1C7D4C
analogous
#7D1C7D #7D1C4D #7D1C1C
triadic
#7D1C4D #4D7D1C #1C4D7D
tetradic
#7D1C4D #7D7D1C #1C7D4C #1C1C7D
square
#7D1C4D #7D7D1C #1C7D4C #1C1C7D
split-complementary
#7D1C4D #1C7D1C #1C7D7D
monochromatic
#19060F #4B112E #7D1C4D #AF276C #D43F8A

Accessibility & contrast

On white

9.79
#7D1C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C4D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C4D#FFFFFF#000000##FFFFFF
##7D1C4D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F384E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#871132
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1c4d;
/* rgb */ color: rgb(125, 28, 77);
/* oklch */ color: oklch(40.4% 0.139 354.5);
Tailwind
colors: {
  custom: {
    50: '#a7627e',
    500: '#7d1c4d',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c4d;
$custom-light: #a7627e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c4d",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 329.691,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.13867,
    "h": 354.5
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#7D1C4D
secondary
#44B17A
accent
#E69341
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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