#7D1E48#7D1E48

#7D1E48 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.134 H 358.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7D1E48
RGBrgb(125, 30, 72)
HSLhsl(333, 61%, 30%)
HSVhsv(333, 76%, 49%)
CMYKcmyk(0%, 76%, 42.4%, 51%)
CIE-LABlab(28.79, 43.69, -1.77)
CIE-LCHlch(28.79, 43.73, 357.68°)
OKLaboklab(40.38% 0.1341 -0.0041)
OKLCHoklch(40.38% 0.134 358.2)
XYZxyz(10.0921, 5.7577, 6.7095)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E48 #1E7D53
analogous
#7D1E77 #7D1E48 #7D241E
triadic
#7D1E48 #487D1E #1E487D
tetradic
#7D1E48 #777D1E #1E7D53 #241E7D
square
#7D1E48 #777D1E #1E7D53 #241E7D
split-complementary
#7D1E48 #1E7D24 #1E777D
monochromatic
#1A060F #4C122C #7D1E48 #AE2A64 #D24382

Accessibility & contrast

On white

9.76
#7D1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E48
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E48#FFFFFF#000000##FFFFFF
##7D1E481.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323849
Deuteranopia (green-blind)
#4C4A46
Tritanopia (blue-blind)
#881130
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1e48;
/* rgb */ color: rgb(125, 30, 72);
/* oklch */ color: oklch(40.4% 0.134 358.2);
Tailwind
colors: {
  custom: {
    50: '#a7637a',
    500: '#7d1e48',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e48;
$custom-light: #a7637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e48",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 72
  },
  "hsl": {
    "h": 333.474,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40375,
    "c": 0.13418,
    "h": 358.2
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#7D1E48
secondary
#46B082
accent
#E49D43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1E48

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

Preview Lab → · Contrast checker → · Palette generator →

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