#7B1837#7B1837

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

Color values

HEX#7B1837
RGBrgb(123, 24, 55)
HSLhsl(341, 67%, 29%)
HSVhsv(341, 80%, 48%)
CMYKcmyk(0%, 80.5%, 55.3%, 51.8%)
CIE-LABlab(27.13, 43.53, 7.21)
CIE-LCHlch(27.13, 44.12, 9.41°)
OKLaboklab(38.91% 0.1326 0.0185)
OKLCHoklch(38.91% 0.134 7.9)
XYZxyz(9.1855, 5.1414, 4.1224)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1837 #187B5C
analogous
#7B1869 #7B1837 #7B2B18
triadic
#7B1837 #377B18 #18377B
tetradic
#7B1837 #697B18 #187B5C #2B187B
square
#7B1837 #697B18 #187B5C #2B187B
split-complementary
#7B1837 #187B2B #18697B
monochromatic
#1A050B #480E20 #7B1837 #AE224E #D83668

Accessibility & contrast

On white

10.36
#7B1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7B1837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1837
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1837#FFFFFF#000000##FFFFFF
##7B18371.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.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: #7b1837;
/* rgb */ color: rgb(123, 24, 55);
/* oklch */ color: oklch(38.9% 0.134 7.9);
Tailwind
colors: {
  custom: {
    50: '#a7606d',
    500: '#7b1837',
    950: '#000000',
  },
}
SCSS
$custom: #7b1837;
$custom-light: #a7606d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1837",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 341.212,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38912,
    "c": 0.13386,
    "h": 7.9
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#7B1837
secondary
#3FB08C
accent
#EAB43E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1837

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

Preview Lab → · Contrast checker → · Palette generator →

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