#7D1C46#7D1C46

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

Color values

HEX#7D1C46
RGBrgb(125, 28, 70)
HSLhsl(334, 63%, 30%)
HSVhsv(334, 78%, 49%)
CMYKcmyk(0%, 77.6%, 44%, 51%)
CIE-LABlab(28.47, 44.20, -0.91)
CIE-LCHlch(28.47, 44.21, 358.82°)
OKLaboklab(40.12% 0.1357 -0.0018)
OKLCHoklch(40.12% 0.136 359.2)
XYZxyz(9.9789, 5.6340, 6.3551)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C46 #1C7D53
analogous
#7D1C76 #7D1C46 #7D231C
triadic
#7D1C46 #467D1C #1C467D
tetradic
#7D1C46 #767D1C #1C7D53 #231C7D
square
#7D1C46 #767D1C #1C7D53 #231C7D
split-complementary
#7D1C46 #1C7D23 #1C767D
monochromatic
#19060E #4B112A #7D1C46 #AF2762 #D43F80

Accessibility & contrast

On white

9.87
#7D1C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1C46
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C46#FFFFFF#000000##FFFFFF
##7D1C461.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313747
Deuteranopia (green-blind)
#4C4A44
Tritanopia (blue-blind)
#880C2E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1c46;
/* rgb */ color: rgb(125, 28, 70);
/* oklch */ color: oklch(40.1% 0.136 359.2);
Tailwind
colors: {
  custom: {
    50: '#a76279',
    500: '#7d1c46',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c46;
$custom-light: #a76279;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c46",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 70
  },
  "hsl": {
    "h": 334.021,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40116,
    "c": 0.13573,
    "h": 359.2
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#7D1C46
secondary
#44B182
accent
#E69F41
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1C46

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

Preview Lab → · Contrast checker → · Palette generator →

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