#7B1936#7B1936

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

Color values

HEX#7B1936
RGBrgb(123, 25, 54)
HSLhsl(342, 66%, 29%)
HSVhsv(342, 80%, 48%)
CMYKcmyk(0%, 79.7%, 56.1%, 51.8%)
CIE-LABlab(27.22, 43.12, 8.01)
CIE-LCHlch(27.22, 43.85, 10.53°)
OKLaboklab(38.97% 0.1311 0.0204)
OKLCHoklch(38.97% 0.133 8.9)
XYZxyz(9.1827, 5.1739, 4.0044)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1936 #197B5E
analogous
#7B1967 #7B1936 #7B2D19
triadic
#7B1936 #367B19 #19367B
tetradic
#7B1936 #677B19 #197B5E #2D197B
square
#7B1936 #677B19 #197B5E #2D197B
split-complementary
#7B1936 #197B2D #19677B
monochromatic
#19050B #480F20 #7B1936 #AE234C #D73867

Accessibility & contrast

On white

10.32
#7B1936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1936
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1936#FFFFFF#000000##FFFFFF
##7B19361.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b1936;
/* rgb */ color: rgb(123, 25, 54);
/* oklch */ color: oklch(39.0% 0.133 8.9);
Tailwind
colors: {
  custom: {
    50: '#a7606c',
    500: '#7b1936',
    950: '#000000',
  },
}
SCSS
$custom: #7b1936;
$custom-light: #a7606c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1936",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 342.245,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38971,
    "c": 0.13268,
    "h": 8.9
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#7B1936
secondary
#40AF8F
accent
#E9B73F
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1936

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

Preview Lab → · Contrast checker → · Palette generator →

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