#7B1A3D#7B1A3D

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

Color values

HEX#7B1A3D
RGBrgb(123, 26, 61)
HSLhsl(338, 65%, 29%)
HSVhsv(338, 79%, 48%)
CMYKcmyk(0%, 78.9%, 50.4%, 51.8%)
CIE-LABlab(27.54, 43.40, 3.73)
CIE-LCHlch(27.54, 43.56, 4.92°)
OKLaboklab(39.27% 0.1328 0.01)
OKLCHoklch(39.27% 0.133 4.3)
XYZxyz(9.3809, 5.2879, 4.9407)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A3D #1A7B58
analogous
#7B1A6E #7B1A3D #7B281A
triadic
#7B1A3D #3D7B1A #1A3D7B
tetradic
#7B1A3D #6E7B1A #1A7B58 #281A7B
square
#7B1A3D #6E7B1A #1A7B58 #281A7B
split-complementary
#7B1A3D #1A7B28 #1A6E7B
monochromatic
#19050D #480F24 #7B1A3D #AE2556 #D53A72

Accessibility & contrast

On white

10.21
#7B1A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A3D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A3D#FFFFFF#000000##FFFFFF
##7B1A3D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353E
Deuteranopia (green-blind)
#4B483B
Tritanopia (blue-blind)
#860329
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1a3d;
/* rgb */ color: rgb(123, 26, 61);
/* oklch */ color: oklch(39.3% 0.133 4.3);
Tailwind
colors: {
  custom: {
    50: '#a66172',
    500: '#7b1a3d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a3d;
$custom-light: #a66172;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a3d",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 338.351,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39267,
    "c": 0.13318,
    "h": 4.3
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#7B1A3D
secondary
#42AF88
accent
#E8AB40
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7B1A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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