#7D1E4B#7D1E4B

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

Color values

HEX#7D1E4B
RGBrgb(125, 30, 75)
HSLhsl(332, 61%, 30%)
HSVhsv(332, 76%, 49%)
CMYKcmyk(0%, 76%, 40%, 51%)
CIE-LABlab(28.90, 44.03, -3.61)
CIE-LCHlch(28.90, 44.18, 355.31°)
OKLaboklab(40.49% 0.1351 -0.0089)
OKLCHoklch(40.49% 0.135 356.2)
XYZxyz(10.1924, 5.7978, 7.2376)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E4B #1E7D50
analogous
#7D1E7A #7D1E4B #7D211E
triadic
#7D1E4B #4B7D1E #1E4B7D
tetradic
#7D1E4B #7A7D1E #1E7D50 #211E7D
square
#7D1E4B #7A7D1E #1E7D50 #211E7D
split-complementary
#7D1E4B #1E7D21 #1E7A7D
monochromatic
#1A0610 #4C122D #7D1E4B #AE2A69 #D24387

Accessibility & contrast

On white

9.72
#7D1E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E4B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E4B#FFFFFF#000000##FFFFFF
##7D1E4B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394C
Deuteranopia (green-blind)
#4B4B49
Tritanopia (blue-blind)
#871332
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1e4b;
/* rgb */ color: rgb(125, 30, 75);
/* oklch */ color: oklch(40.5% 0.135 356.2);
Tailwind
colors: {
  custom: {
    50: '#a7637d',
    500: '#7d1e4b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e4b;
$custom-light: #a7637d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e4b",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 75
  },
  "hsl": {
    "h": 331.579,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40486,
    "c": 0.13543,
    "h": 356.2
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#7D1E4B
secondary
#46B07E
accent
#E49843
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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