#7B1D3E#7B1D3E

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

Color values

HEX#7B1D3E
RGBrgb(123, 29, 62)
HSLhsl(339, 62%, 30%)
HSVhsv(339, 76%, 48%)
CMYKcmyk(0%, 76.4%, 49.6%, 51.8%)
CIE-LABlab(27.95, 42.42, 3.65)
CIE-LCHlch(27.95, 42.58, 4.91°)
OKLaboklab(39.58% 0.1298 0.0098)
OKLCHoklch(39.58% 0.13 4.3)
XYZxyz(9.4780, 5.4387, 5.1072)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1D3E #1D7B5A
analogous
#7B1D6D #7B1D3E #7B2B1D
triadic
#7B1D3E #3E7B1D #1D3E7B
tetradic
#7B1D3E #6D7B1D #1D7B5A #2B1D7B
square
#7B1D3E #6D7B1D #1D7B5A #2B1D7B
split-complementary
#7B1D3E #1D7B2B #1D6D7B
monochromatic
#19060C #491125 #7B1D3E #AD2957 #D24074

Accessibility & contrast

On white

10.06
#7B1D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1D3E
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1D3E#FFFFFF#000000##FFFFFF
##7B1D3E1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363F
Deuteranopia (green-blind)
#4C493C
Tritanopia (blue-blind)
#860A2B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1d3e;
/* rgb */ color: rgb(123, 29, 62);
/* oklch */ color: oklch(39.6% 0.130 4.3);
Tailwind
colors: {
  custom: {
    50: '#a66273',
    500: '#7b1d3e',
    950: '#000000',
  },
}
SCSS
$custom: #7b1d3e;
$custom-light: #a66273;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1d3e",
  "rgb": {
    "r": 123,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 338.936,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39579,
    "c": 0.13014,
    "h": 4.3
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#7B1D3E
secondary
#45AF8A
accent
#E5AC43
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7B1D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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