#7B1D3D#7B1D3D

#7B1D3D is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.130 H 5.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7B1D3D
RGBrgb(123, 29, 61)
HSLhsl(340, 62%, 30%)
HSVhsv(340, 76%, 48%)
CMYKcmyk(0%, 76.4%, 50.4%, 51.8%)
CIE-LABlab(27.92, 42.33, 4.28)
CIE-LCHlch(27.92, 42.54, 5.77°)
OKLaboklab(39.55% 0.1294 0.0113)
OKLCHoklch(39.55% 0.13 5)
XYZxyz(9.4508, 5.4279, 4.9640)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D3D #1D7B5B
analogous
#7B1D6C #7B1D3D #7B2C1D
triadic
#7B1D3D #3D7B1D #1D3D7B
tetradic
#7B1D3D #6C7B1D #1D7B5B #2C1D7B
square
#7B1D3D #6C7B1D #1D7B5B #2C1D7B
split-complementary
#7B1D3D #1D7B2C #1D6C7B
monochromatic
#19060C #491124 #7B1D3D #AD2956 #D24072

Accessibility & contrast

On white

10.07
#7B1D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7B1D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D3D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D3D#FFFFFF#000000##FFFFFF
##7B1D3D1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363E
Deuteranopia (green-blind)
#4C493B
Tritanopia (blue-blind)
#86092A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1d3d;
/* rgb */ color: rgb(123, 29, 61);
/* oklch */ color: oklch(39.5% 0.130 5.0);
Tailwind
colors: {
  custom: {
    50: '#a66272',
    500: '#7b1d3d',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d3d;
$custom-light: #a66272;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d3d",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 339.574,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.12988,
    "h": 5
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#7B1D3D
secondary
#45AF8B
accent
#E5AE43
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7B1D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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