#7B1D3C#7B1D3C

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

Color values

HEX#7B1D3C
RGBrgb(123, 29, 60)
HSLhsl(340, 62%, 30%)
HSVhsv(340, 76%, 48%)
CMYKcmyk(0%, 76.4%, 51.2%, 51.8%)
CIE-LABlab(27.89, 42.23, 4.91)
CIE-LCHlch(27.89, 42.52, 6.63°)
OKLaboklab(39.52% 0.129 0.0129)
OKLCHoklch(39.52% 0.13 5.7)
XYZxyz(9.4242, 5.4172, 4.8235)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D3C #1D7B5C
analogous
#7B1D6B #7B1D3C #7B2D1D
triadic
#7B1D3C #3C7B1D #1D3C7B
tetradic
#7B1D3C #6B7B1D #1D7B5C #2D1D7B
square
#7B1D3C #6B7B1D #1D7B5C #2D1D7B
split-complementary
#7B1D3C #1D7B2D #1D6B7B
monochromatic
#19060C #491124 #7B1D3C #AD2954 #D24070

Accessibility & contrast

On white

10.08
#7B1D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7B1D3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1D3C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D3C#FFFFFF#000000##FFFFFF
##7B1D3C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363D
Deuteranopia (green-blind)
#4C493A
Tritanopia (blue-blind)
#86082A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1d3c;
/* rgb */ color: rgb(123, 29, 60);
/* oklch */ color: oklch(39.5% 0.130 5.7);
Tailwind
colors: {
  custom: {
    50: '#a66271',
    500: '#7b1d3c',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d3c;
$custom-light: #a66271;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d3c",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 60
  },
  "hsl": {
    "h": 340.213,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39517,
    "c": 0.12963,
    "h": 5.7
  },
  "luminance": 0.05416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B1D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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