#7D1B48#7D1B48

#7D1B48 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.138 H 357.7°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7D1B48
RGBrgb(125, 27, 72)
HSLhsl(332, 64%, 30%)
HSVhsv(332, 78%, 49%)
CMYKcmyk(0%, 78.4%, 42.4%, 51%)
CIE-LABlab(28.41, 44.76, -2.33)
CIE-LCHlch(28.41, 44.82, 357.03°)
OKLaboklab(40.1% 0.1375 -0.0055)
OKLCHoklch(40.1% 0.138 357.7)
XYZxyz(10.0198, 5.6130, 6.6854)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B48 #1B7D50
analogous
#7D1B79 #7D1B48 #7D1F1B
triadic
#7D1B48 #487D1B #1B487D
tetradic
#7D1B48 #797D1B #1B7D50 #1F1B7D
square
#7D1B48 #797D1B #1B7D50 #1F1B7D
split-complementary
#7D1B48 #1B7D1F #1B797D
monochromatic
#19050E #4B102B #7D1B48 #AF2665 #D53D83

Accessibility & contrast

On white

9.89
#7D1B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7D1B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B48
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B48#FFFFFF#000000##FFFFFF
##7D1B481.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303749
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#880C2F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1b48;
/* rgb */ color: rgb(125, 27, 72);
/* oklch */ color: oklch(40.1% 0.138 357.7);
Tailwind
colors: {
  custom: {
    50: '#a7627a',
    500: '#7d1b48',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b48;
$custom-light: #a7627a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b48",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 72
  },
  "hsl": {
    "h": 332.449,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40098,
    "c": 0.13762,
    "h": 357.7
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#7D1B48
secondary
#43B17E
accent
#E79B40
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1B48

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

Preview Lab → · Contrast checker → · Palette generator →

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