#7B1748#7B1748

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

Color values

HEX#7B1748
RGBrgb(123, 23, 72)
HSLhsl(331, 68%, 29%)
HSVhsv(331, 81%, 48%)
CMYKcmyk(0%, 81.3%, 41.5%, 51.8%)
CIE-LABlab(27.55, 45.49, -3.64)
CIE-LCHlch(27.55, 45.63, 355.42°)
OKLaboklab(39.39% 0.1399 -0.009)
OKLCHoklch(39.39% 0.14 356.3)
XYZxyz(9.6452, 5.2929, 6.6434)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1748 #177B4A
analogous
#7B177A #7B1748 #7B1817
triadic
#7B1748 #487B17 #17487B
tetradic
#7B1748 #7A7B17 #177B4A #18177B
square
#7B1748 #7A7B17 #177B4A #18177B
split-complementary
#7B1748 #177B18 #177A7B
monochromatic
#1A050F #470D2A #7B1748 #AF2166 #D93385

Accessibility & contrast

On white

10.20
#7B1748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1748
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1748#FFFFFF#000000##FFFFFF
##7B17481.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3549
Deuteranopia (green-blind)
#484846
Tritanopia (blue-blind)
#85072D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1748;
/* rgb */ color: rgb(123, 23, 72);
/* oklch */ color: oklch(39.4% 0.140 356.3);
Tailwind
colors: {
  custom: {
    50: '#a6607a',
    500: '#7b1748',
    950: '#000000',
  },
}
SCSS
$custom: #7b1748;
$custom-light: #a6607a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1748",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 330.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39394,
    "c": 0.14018,
    "h": 356.3
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#7B1748
secondary
#3EB078
accent
#EB963C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1748

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

Preview Lab → · Contrast checker → · Palette generator →

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