#7B1839#7B1839

#7B1839 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.134 H 6.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#7B1839
RGBrgb(123, 24, 57)
HSLhsl(340, 67%, 29%)
HSVhsv(340, 80%, 48%)
CMYKcmyk(0%, 80.5%, 53.7%, 51.8%)
CIE-LABlab(27.19, 43.70, 5.93)
CIE-LCHlch(27.19, 44.10, 7.73°)
OKLaboklab(38.97% 0.1334 0.0154)
OKLCHoklch(38.97% 0.134 6.6)
XYZxyz(9.2344, 5.1609, 4.3800)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1839 #187B5A
analogous
#7B186B #7B1839 #7B2918
triadic
#7B1839 #397B18 #18397B
tetradic
#7B1839 #6B7B18 #187B5A #29187B
square
#7B1839 #6B7B18 #187B5A #29187B
split-complementary
#7B1839 #187B29 #186B7B
monochromatic
#1A050C #480E21 #7B1839 #AE2251 #D8366C

Accessibility & contrast

On white

10.33
#7B1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1839
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1839#FFFFFF#000000##FFFFFF
##7B18391.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1839;
/* rgb */ color: rgb(123, 24, 57);
/* oklch */ color: oklch(39.0% 0.134 6.6);
Tailwind
colors: {
  custom: {
    50: '#a7606f',
    500: '#7b1839',
    950: '#000000',
  },
}
SCSS
$custom: #7b1839;
$custom-light: #a7606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1839",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 340,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3897,
    "c": 0.13427,
    "h": 6.6
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#7B1839
secondary
#3FB08A
accent
#EAB13E
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1839

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

Preview Lab → · Contrast checker → · Palette generator →

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