#7D1D48#7D1D48

#7D1D48 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.135 H 358.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7D1D48
RGBrgb(125, 29, 72)
HSLhsl(333, 62%, 30%)
HSVhsv(333, 77%, 49%)
CMYKcmyk(0%, 76.8%, 42.4%, 51%)
CIE-LABlab(28.66, 44.06, -1.96)
CIE-LCHlch(28.66, 44.10, 357.46°)
OKLaboklab(40.28% 0.1353 -0.0046)
OKLCHoklch(40.28% 0.135 358.1)
XYZxyz(10.0672, 5.7079, 6.7012)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D48 #1D7D52
analogous
#7D1D78 #7D1D48 #7D221D
triadic
#7D1D48 #487D1D #1D487D
tetradic
#7D1D48 #787D1D #1D7D52 #221D7D
square
#7D1D48 #787D1D #1D7D52 #221D7D
split-complementary
#7D1D48 #1D7D22 #1D787D
monochromatic
#1A060F #4B112B #7D1D48 #AF2965 #D34183

Accessibility & contrast

On white

9.81
#7D1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D48
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D48#FFFFFF#000000##FFFFFF
##7D1D481.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1d48;
/* rgb */ color: rgb(125, 29, 72);
/* oklch */ color: oklch(40.3% 0.135 358.1);
Tailwind
colors: {
  custom: {
    50: '#a7637a',
    500: '#7d1d48',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d48;
$custom-light: #a7637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d48",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 72
  },
  "hsl": {
    "h": 333.125,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.13536,
    "h": 358.1
  },
  "luminance": 0.05707
}

Semantic roles & 50–950 ramp

primary
#7D1D48
secondary
#45B180
accent
#E59C42
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1D48

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

Preview Lab → · Contrast checker → · Palette generator →

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