#7A1B3E#7A1B3E

#7A1B3E is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.2% C 0.131 H 3.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7A1B3E
RGBrgb(122, 27, 62)
HSLhsl(338, 64%, 29%)
HSVhsv(338, 78%, 48%)
CMYKcmyk(0%, 77.9%, 49.2%, 52.2%)
CIE-LABlab(27.49, 42.84, 2.96)
CIE-LCHlch(27.49, 42.94, 3.96°)
OKLaboklab(39.2% 0.1312 0.008)
OKLCHoklch(39.2% 0.131 3.5)
XYZxyz(9.2882, 5.2705, 5.0847)
Luminance0.0527 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B3E #1B7A57
analogous
#7A1B6E #7A1B3E #7A281B
triadic
#7A1B3E #3E7A1B #1B3E7A
tetradic
#7A1B3E #6E7A1B #1B7A57 #281B7A
square
#7A1B3E #6E7A1B #1B7A57 #281B7A
split-complementary
#7A1B3E #1B7A28 #1B6E7A
monochromatic
#19060D #481025 #7A1B3E #AC2657 #D43C74

Accessibility & contrast

On white

10.22
#7A1B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7A1B3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B3E
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B3E#FFFFFF#000000##FFFFFF
##7A1B3E1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353F
Deuteranopia (green-blind)
#4B483C
Tritanopia (blue-blind)
#85072A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a1b3e;
/* rgb */ color: rgb(122, 27, 62);
/* oklch */ color: oklch(39.2% 0.131 3.5);
Tailwind
colors: {
  custom: {
    50: '#a56173',
    500: '#7a1b3e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b3e;
$custom-light: #a56173;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b3e",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 337.895,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39204,
    "c": 0.13144,
    "h": 3.5
  },
  "luminance": 0.05269
}

Semantic roles & 50–950 ramp

primary
#7A1B3E
secondary
#43AE87
accent
#E7AA41
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7A1B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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