#7B1638#7B1638

#7B1638 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.136 H 6.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7B1638
RGBrgb(123, 22, 56)
HSLhsl(340, 70%, 28%)
HSVhsv(340, 82%, 48%)
CMYKcmyk(0%, 82.1%, 54.5%, 51.8%)
CIE-LABlab(26.94, 44.25, 6.26)
CIE-LCHlch(26.94, 44.69, 8.05°)
OKLaboklab(38.78% 0.135 0.0162)
OKLCHoklch(38.78% 0.136 6.8)
XYZxyz(9.1699, 5.0716, 4.2367)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1638 #167B59
analogous
#7B166A #7B1638 #7B2616
triadic
#7B1638 #387B16 #16387B
tetradic
#7B1638 #6A7B16 #167B59 #26167B
square
#7B1638 #6A7B16 #167B59 #26167B
split-complementary
#7B1638 #167B26 #166A7B
monochromatic
#1A050C #470D20 #7B1638 #AF1F50 #DA316A

Accessibility & contrast

On white

10.43
#7B1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7B1638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1638
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1638#FFFFFF#000000##FFFFFF
##7B16381.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#870025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1638;
/* rgb */ color: rgb(123, 22, 56);
/* oklch */ color: oklch(38.8% 0.136 6.8);
Tailwind
colors: {
  custom: {
    50: '#a75f6e',
    500: '#7b1638',
    950: '#000000',
  },
}
SCSS
$custom: #7b1638;
$custom-light: #a75f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1638",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 339.802,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38777,
    "c": 0.13598,
    "h": 6.8
  },
  "luminance": 0.0507
}

Semantic roles & 50–950 ramp

primary
#7B1638
secondary
#3DB089
accent
#ECB13B
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1638

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

Preview Lab → · Contrast checker → · Palette generator →

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