#7D1C48#7D1C48

#7D1C48 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.137 H 357.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7D1C48
RGBrgb(125, 28, 72)
HSLhsl(333, 63%, 30%)
HSVhsv(333, 78%, 49%)
CMYKcmyk(0%, 77.6%, 42.4%, 51%)
CIE-LABlab(28.54, 44.41, -2.14)
CIE-LCHlch(28.54, 44.46, 357.24°)
OKLaboklab(40.19% 0.1364 -0.0051)
OKLCHoklch(40.19% 0.137 357.9)
XYZxyz(10.0431, 5.6596, 6.6932)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C48 #1C7D51
analogous
#7D1C78 #7D1C48 #7D211C
triadic
#7D1C48 #487D1C #1C487D
tetradic
#7D1C48 #787D1C #1C7D51 #211C7D
square
#7D1C48 #787D1C #1C7D51 #211C7D
split-complementary
#7D1C48 #1C7D21 #1C787D
monochromatic
#19060E #4B112B #7D1C48 #AF2765 #D43F83

Accessibility & contrast

On white

9.85
#7D1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D1C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C48
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C48#FFFFFF#000000##FFFFFF
##7D1C481.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1c48;
/* rgb */ color: rgb(125, 28, 72);
/* oklch */ color: oklch(40.2% 0.137 357.9);
Tailwind
colors: {
  custom: {
    50: '#a7627a',
    500: '#7d1c48',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c48;
$custom-light: #a7627a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c48",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 332.784,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40188,
    "c": 0.1365,
    "h": 357.9
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#7D1C48
secondary
#44B17F
accent
#E69C41
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1C48

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

Preview Lab → · Contrast checker → · Palette generator →

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