#7B1738#7B1738

#7B1738 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.135 H 7.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7B1738
RGBrgb(123, 23, 56)
HSLhsl(340, 68%, 29%)
HSVhsv(340, 81%, 48%)
CMYKcmyk(0%, 81.3%, 54.5%, 51.8%)
CIE-LABlab(27.05, 43.93, 6.41)
CIE-LCHlch(27.05, 44.40, 8.30°)
OKLaboklab(38.86% 0.134 0.0166)
OKLCHoklch(38.86% 0.135 7)
XYZxyz(9.1894, 5.1106, 4.2432)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1738 #177B5A
analogous
#7B176A #7B1738 #7B2817
triadic
#7B1738 #387B17 #17387B
tetradic
#7B1738 #6A7B17 #177B5A #28177B
square
#7B1738 #6A7B17 #177B5A #28177B
split-complementary
#7B1738 #177B28 #176A7B
monochromatic
#1A050C #470D21 #7B1738 #AF214F #D9336A

Accessibility & contrast

On white

10.39
#7B1738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7B1738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1738
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1738#FFFFFF#000000##FFFFFF
##7B17381.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.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: #7b1738;
/* rgb */ color: rgb(123, 23, 56);
/* oklch */ color: oklch(38.9% 0.135 7.0);
Tailwind
colors: {
  custom: {
    50: '#a75f6e',
    500: '#7b1738',
    950: '#000000',
  },
}
SCSS
$custom: #7b1738;
$custom-light: #a75f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1738",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 340.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.13503,
    "h": 7
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#7B1738
secondary
#3EB08A
accent
#EBB23C
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1738

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

Preview Lab → · Contrast checker → · Palette generator →

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