#7D1A47#7D1A47

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

Color values

HEX#7D1A47
RGBrgb(125, 26, 71)
HSLhsl(333, 66%, 30%)
HSVhsv(333, 79%, 49%)
CMYKcmyk(0%, 79.2%, 43.2%, 51%)
CIE-LABlab(28.26, 44.99, -1.88)
CIE-LCHlch(28.26, 45.03, 357.60°)
OKLaboklab(39.97% 0.1383 -0.0044)
OKLCHoklch(39.97% 0.138 358.2)
XYZxyz(9.9649, 5.5550, 6.5075)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A47 #1A7D50
analogous
#7D1A79 #7D1A47 #7D1E1A
triadic
#7D1A47 #477D1A #1A477D
tetradic
#7D1A47 #797D1A #1A7D50 #1E1A7D
square
#7D1A47 #797D1A #1A7D50 #1E1A7D
split-complementary
#7D1A47 #1A7D1E #1A797D
monochromatic
#19050E #4A0F2A #7D1A47 #B02564 #D63B82

Accessibility & contrast

On white

9.95
#7D1A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A47
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A47#FFFFFF#000000##FFFFFF
##7D1A471.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303748
Deuteranopia (green-blind)
#4B4945
Tritanopia (blue-blind)
#88092E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1a47;
/* rgb */ color: rgb(125, 26, 71);
/* oklch */ color: oklch(40.0% 0.138 358.2);
Tailwind
colors: {
  custom: {
    50: '#a7617a',
    500: '#7d1a47',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a47;
$custom-light: #a7617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a47",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 71
  },
  "hsl": {
    "h": 332.727,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39974,
    "c": 0.13832,
    "h": 358.2
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#7D1A47
secondary
#42B17E
accent
#E99C3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1A47

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

Preview Lab → · Contrast checker → · Palette generator →

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