#7A1D3C#7A1D3C

#7A1D3C is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.129 H 5.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7A1D3C
RGBrgb(122, 29, 60)
HSLhsl(340, 62%, 30%)
HSVhsv(340, 76%, 48%)
CMYKcmyk(0%, 76.2%, 50.8%, 52.2%)
CIE-LABlab(27.69, 41.92, 4.60)
CIE-LCHlch(27.69, 42.17, 6.26°)
OKLaboklab(39.33% 0.1281 0.0121)
OKLCHoklch(39.33% 0.129 5.4)
XYZxyz(9.2818, 5.3438, 4.8168)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D3C #1D7A5B
analogous
#7A1D6B #7A1D3C #7A2D1D
triadic
#7A1D3C #3C7A1D #1D3C7A
tetradic
#7A1D3C #6B7A1D #1D7A5B #2D1D7A
square
#7A1D3C #6B7A1D #1D7A5B #2D1D7A
split-complementary
#7A1D3C #1D7A2D #1D6B7A
monochromatic
#19060C #491124 #7A1D3C #AB2954 #D24070

Accessibility & contrast

On white

10.15
#7A1D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7A1D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D3C
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D3C#FFFFFF#000000##FFFFFF
##7A1D3C1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363D
Deuteranopia (green-blind)
#4C483A
Tritanopia (blue-blind)
#85092A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1d3c;
/* rgb */ color: rgb(122, 29, 60);
/* oklch */ color: oklch(39.3% 0.129 5.4);
Tailwind
colors: {
  custom: {
    50: '#a56271',
    500: '#7a1d3c',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d3c;
$custom-light: #a56271;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d3c",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 340,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39333,
    "c": 0.12864,
    "h": 5.4
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#7A1D3C
secondary
#45AE8B
accent
#E5AF43
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7A1D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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