#7B1A3E#7B1A3E

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

Color values

HEX#7B1A3E
RGBrgb(123, 26, 62)
HSLhsl(338, 65%, 29%)
HSVhsv(338, 79%, 48%)
CMYKcmyk(0%, 78.9%, 49.6%, 51.8%)
CIE-LABlab(27.57, 43.49, 3.10)
CIE-LCHlch(27.57, 43.60, 4.08°)
OKLaboklab(39.3% 0.1332 0.0084)
OKLCHoklch(39.3% 0.133 3.6)
XYZxyz(9.4081, 5.2988, 5.0839)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A3E #1A7B57
analogous
#7B1A6F #7B1A3E #7B271A
triadic
#7B1A3E #3E7B1A #1A3E7B
tetradic
#7B1A3E #6F7B1A #1A7B57 #271A7B
square
#7B1A3E #6F7B1A #1A7B57 #271A7B
split-complementary
#7B1A3E #1A7B27 #1A6F7B
monochromatic
#19050D #480F25 #7B1A3E #AE2557 #D53A74

Accessibility & contrast

On white

10.20
#7B1A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B1A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A3E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A3E#FFFFFF#000000##FFFFFF
##7B1A3E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1a3e;
/* rgb */ color: rgb(123, 26, 62);
/* oklch */ color: oklch(39.3% 0.133 3.6);
Tailwind
colors: {
  custom: {
    50: '#a66173',
    500: '#7b1a3e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a3e;
$custom-light: #a66173;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a3e",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 62
  },
  "hsl": {
    "h": 337.732,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39298,
    "c": 0.13346,
    "h": 3.6
  },
  "luminance": 0.05298
}

Semantic roles & 50–950 ramp

primary
#7B1A3E
secondary
#42AF87
accent
#E8AA40
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7B1A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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