#7B1838#7B1838

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

Color values

HEX#7B1838
RGBrgb(123, 24, 56)
HSLhsl(341, 67%, 29%)
HSVhsv(341, 80%, 48%)
CMYKcmyk(0%, 80.5%, 54.5%, 51.8%)
CIE-LABlab(27.16, 43.62, 6.57)
CIE-LCHlch(27.16, 44.11, 8.57°)
OKLaboklab(38.94% 0.133 0.017)
OKLCHoklch(38.94% 0.134 7.3)
XYZxyz(9.2097, 5.1510, 4.2499)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1838 #187B5B
analogous
#7B186A #7B1838 #7B2A18
triadic
#7B1838 #387B18 #18387B
tetradic
#7B1838 #6A7B18 #187B5B #2A187B
square
#7B1838 #6A7B18 #187B5B #2A187B
split-complementary
#7B1838 #187B2A #186A7B
monochromatic
#1A050C #480E21 #7B1838 #AE224F #D8366A

Accessibility & contrast

On white

10.34
#7B1838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1838
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1838#FFFFFF#000000##FFFFFF
##7B18381.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323439
Deuteranopia (green-blind)
#4C4736
Tritanopia (blue-blind)
#870026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1838;
/* rgb */ color: rgb(123, 24, 56);
/* oklch */ color: oklch(38.9% 0.134 7.3);
Tailwind
colors: {
  custom: {
    50: '#a7606e',
    500: '#7b1838',
    950: '#000000',
  },
}
SCSS
$custom: #7b1838;
$custom-light: #a7606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1838",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 56
  },
  "hsl": {
    "h": 340.606,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38941,
    "c": 0.13406,
    "h": 7.3
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#7B1838
secondary
#3FB08B
accent
#EAB23E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1838

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

Preview Lab → · Contrast checker → · Palette generator →

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