#7B1737#7B1737

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

Color values

HEX#7B1737
RGBrgb(123, 23, 55)
HSLhsl(341, 68%, 29%)
HSVhsv(341, 81%, 48%)
CMYKcmyk(0%, 81.3%, 55.3%, 51.8%)
CIE-LABlab(27.02, 43.85, 7.05)
CIE-LCHlch(27.02, 44.41, 9.14°)
OKLaboklab(38.83% 0.1336 0.0181)
OKLCHoklch(38.83% 0.135 7.7)
XYZxyz(9.1652, 5.1009, 4.1156)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1737 #177B5B
analogous
#7B1769 #7B1737 #7B2917
triadic
#7B1737 #377B17 #17377B
tetradic
#7B1737 #697B17 #177B5B #29177B
square
#7B1737 #697B17 #177B5B #29177B
split-complementary
#7B1737 #177B29 #17697B
monochromatic
#1A050C #470D20 #7B1737 #AF214E #D93368

Accessibility & contrast

On white

10.40
#7B1737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1737
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1737#FFFFFF#000000##FFFFFF
##7B17371.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1737;
/* rgb */ color: rgb(123, 23, 55);
/* oklch */ color: oklch(38.8% 0.135 7.7);
Tailwind
colors: {
  custom: {
    50: '#a75f6d',
    500: '#7b1737',
    950: '#000000',
  },
}
SCSS
$custom: #7b1737;
$custom-light: #a75f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1737",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 55
  },
  "hsl": {
    "h": 340.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38829,
    "c": 0.13483,
    "h": 7.7
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#7B1737
secondary
#3EB08B
accent
#EBB33C
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1737

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

Preview Lab → · Contrast checker → · Palette generator →

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