#7B1747#7B1747

#7B1747 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.140 H 357.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#7B1747
RGBrgb(123, 23, 71)
HSLhsl(331, 68%, 29%)
HSVhsv(331, 81%, 48%)
CMYKcmyk(0%, 81.3%, 42.3%, 51.8%)
CIE-LABlab(27.52, 45.38, -3.03)
CIE-LCHlch(27.52, 45.48, 356.19°)
OKLaboklab(39.36% 0.1396 -0.0074)
OKLCHoklch(39.36% 0.14 357)
XYZxyz(9.6128, 5.2799, 6.4729)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1747 #177B4B
analogous
#7B1779 #7B1747 #7B1917
triadic
#7B1747 #477B17 #17477B
tetradic
#7B1747 #797B17 #177B4B #19177B
square
#7B1747 #797B17 #177B4B #19177B
split-complementary
#7B1747 #177B19 #17797B
monochromatic
#1A050F #470D29 #7B1747 #AF2165 #D93383

Accessibility & contrast

On white

10.22
#7B1747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1747
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1747#FFFFFF#000000##FFFFFF
##7B17471.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#86062D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1747;
/* rgb */ color: rgb(123, 23, 71);
/* oklch */ color: oklch(39.4% 0.140 357.0);
Tailwind
colors: {
  custom: {
    50: '#a6607a',
    500: '#7b1747',
    950: '#000000',
  },
}
SCSS
$custom: #7b1747;
$custom-light: #a6607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1747",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 71
  },
  "hsl": {
    "h": 331.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39356,
    "c": 0.13975,
    "h": 357
  },
  "luminance": 0.05279
}

Semantic roles & 50–950 ramp

primary
#7B1747
secondary
#3EB079
accent
#EB973C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1747

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

Preview Lab → · Contrast checker → · Palette generator →

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