#7D1E4C#7D1E4C

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

Color values

HEX#7D1E4C
RGBrgb(125, 30, 76)
HSLhsl(331, 61%, 30%)
HSVhsv(331, 76%, 49%)
CMYKcmyk(0%, 76%, 39.2%, 51%)
CIE-LABlab(28.93, 44.14, -4.22)
CIE-LCHlch(28.93, 44.34, 354.54°)
OKLaboklab(40.52% 0.1355 -0.0106)
OKLCHoklch(40.52% 0.136 355.5)
XYZxyz(10.2269, 5.8116, 7.4193)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E4C #1E7D4F
analogous
#7D1E7B #7D1E4C #7D1F1E
triadic
#7D1E4C #4C7D1E #1E4C7D
tetradic
#7D1E4C #7B7D1E #1E7D4F #1F1E7D
square
#7D1E4C #7B7D1E #1E7D4F #1F1E7D
split-complementary
#7D1E4C #1E7D1F #1E7B7D
monochromatic
#1A0610 #4C122E #7D1E4C #AE2A6A #D24388

Accessibility & contrast

On white

9.71
#7D1E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E4C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E4C#FFFFFF#000000##FFFFFF
##7D1E4C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394D
Deuteranopia (green-blind)
#4B4B4A
Tritanopia (blue-blind)
#871332
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1e4c;
/* rgb */ color: rgb(125, 30, 76);
/* oklch */ color: oklch(40.5% 0.136 355.5);
Tailwind
colors: {
  custom: {
    50: '#a7637e',
    500: '#7d1e4c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e4c;
$custom-light: #a7637e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e4c",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 76
  },
  "hsl": {
    "h": 330.947,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40523,
    "c": 0.13587,
    "h": 355.5
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#7D1E4C
secondary
#46B07D
accent
#E49643
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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