#7D1A3C#7D1A3C

#7D1A3C is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.135 H 5.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7D1A3C
RGBrgb(125, 26, 60)
HSLhsl(339, 66%, 30%)
HSVhsv(339, 79%, 49%)
CMYKcmyk(0%, 79.2%, 52%, 51%)
CIE-LABlab(27.92, 43.91, 5.00)
CIE-LCHlch(27.92, 44.19, 6.50°)
OKLaboklab(39.61% 0.1342 0.0131)
OKLCHoklch(39.61% 0.135 5.6)
XYZxyz(9.6433, 5.4263, 4.8137)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A3C #1A7D5B
analogous
#7D1A6E #7D1A3C #7D2A1A
triadic
#7D1A3C #3C7D1A #1A3C7D
tetradic
#7D1A3C #6E7D1A #1A7D5B #2A1A7D
square
#7D1A3C #6E7D1A #1A7D5B #2A1A7D
split-complementary
#7D1A3C #1A7D2A #1A6E7D
monochromatic
#19050C #4A0F24 #7D1A3C #B02554 #D63B70

Accessibility & contrast

On white

10.07
#7D1A3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7D1A3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1A3C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A3C#FFFFFF#000000##FFFFFF
##7D1A3C1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353D
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#890129
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1a3c;
/* rgb */ color: rgb(125, 26, 60);
/* oklch */ color: oklch(39.6% 0.135 5.6);
Tailwind
colors: {
  custom: {
    50: '#a86171',
    500: '#7d1a3c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a3c;
$custom-light: #a86171;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a3c",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 60
  },
  "hsl": {
    "h": 339.394,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.13482,
    "h": 5.6
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#7D1A3C
secondary
#42B18B
accent
#E9AE3F
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7D1A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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