#7D1A48#7D1A48

#7D1A48 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.139 H 357.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7D1A48
RGBrgb(125, 26, 72)
HSLhsl(332, 66%, 30%)
HSVhsv(332, 79%, 49%)
CMYKcmyk(0%, 79.2%, 42.4%, 51%)
CIE-LABlab(28.30, 45.09, -2.50)
CIE-LCHlch(28.30, 45.16, 356.83°)
OKLaboklab(40.01% 0.1386 -0.006)
OKLCHoklch(40.01% 0.139 357.5)
XYZxyz(9.9973, 5.5679, 6.6779)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A48 #1A7D4F
analogous
#7D1A7A #7D1A48 #7D1D1A
triadic
#7D1A48 #487D1A #1A487D
tetradic
#7D1A48 #7A7D1A #1A7D4F #1D1A7D
square
#7D1A48 #7A7D1A #1A7D4F #1D1A7D
split-complementary
#7D1A48 #1A7D1D #1A7A7D
monochromatic
#19050F #4A0F2B #7D1A48 #B02565 #D63B83

Accessibility & contrast

On white

9.94
#7D1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A48
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A48#FFFFFF#000000##FFFFFF
##7D1A481.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3749
Deuteranopia (green-blind)
#4B4946
Tritanopia (blue-blind)
#880A2E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1a48;
/* rgb */ color: rgb(125, 26, 72);
/* oklch */ color: oklch(40.0% 0.139 357.5);
Tailwind
colors: {
  custom: {
    50: '#a7617a',
    500: '#7d1a48',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a48;
$custom-light: #a7617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a48",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 332.121,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.13872,
    "h": 357.5
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#7D1A48
secondary
#42B17D
accent
#E99A3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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