#7B1939#7B1939

#7B1939 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.133 H 6.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#7B1939
RGBrgb(123, 25, 57)
HSLhsl(340, 66%, 29%)
HSVhsv(340, 80%, 48%)
CMYKcmyk(0%, 79.7%, 53.7%, 51.8%)
CIE-LABlab(27.31, 43.37, 6.10)
CIE-LCHlch(27.31, 43.80, 8.01°)
OKLaboklab(39.06% 0.1323 0.0158)
OKLCHoklch(39.06% 0.133 6.8)
XYZxyz(9.2554, 5.2029, 4.3870)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1939 #197B5B
analogous
#7B196A #7B1939 #7B2A19
triadic
#7B1939 #397B19 #19397B
tetradic
#7B1939 #6A7B19 #197B5B #2A197B
square
#7B1939 #6A7B19 #197B5B #2A197B
split-complementary
#7B1939 #197B2A #196A7B
monochromatic
#19050C #480F21 #7B1939 #AE2351 #D7386C

Accessibility & contrast

On white

10.29
#7B1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B1939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1939
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1939#FFFFFF#000000##FFFFFF
##7B19391.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343A
Deuteranopia (green-blind)
#4C4837
Tritanopia (blue-blind)
#870027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1939;
/* rgb */ color: rgb(123, 25, 57);
/* oklch */ color: oklch(39.1% 0.133 6.8);
Tailwind
colors: {
  custom: {
    50: '#a7606f',
    500: '#7b1939',
    950: '#000000',
  },
}
SCSS
$custom: #7b1939;
$custom-light: #a7606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1939",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 340.408,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39057,
    "c": 0.13326,
    "h": 6.8
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#7B1939
secondary
#40AF8B
accent
#E9B13F
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7B1939

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

Preview Lab → · Contrast checker → · Palette generator →

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