#781B38#781B38

#781B38 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.6% C 0.128 H 7.1°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#781B38
RGBrgb(120, 27, 56)
HSLhsl(341, 63%, 29%)
HSVhsv(341, 78%, 47%)
CMYKcmyk(0%, 77.5%, 53.3%, 52.9%)
CIE-LABlab(26.92, 41.66, 6.14)
CIE-LCHlch(26.92, 42.11, 8.38°)
OKLaboklab(38.65% 0.127 0.0159)
OKLCHoklch(38.65% 0.128 7.1)
XYZxyz(8.8523, 5.0637, 4.2519)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B38 #1B785B
analogous
#781B67 #781B38 #782D1B
triadic
#781B38 #38781B #1B3878
tetradic
#781B38 #67781B #1B785B #2D1B78
square
#781B38 #67781B #1B785B #2D1B78
split-complementary
#781B38 #1B782D #1B6778
monochromatic
#19060C #461021 #781B38 #AA264F #D33B6A

Accessibility & contrast

On white

10.44
#781B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B38
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B38#FFFFFF#000000##FFFFFF
##781B381.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781b38;
/* rgb */ color: rgb(120, 27, 56);
/* oklch */ color: oklch(38.6% 0.128 7.1);
Tailwind
colors: {
  custom: {
    50: '#a4606e',
    500: '#781b38',
    950: '#000000',
  },
}
SCSS
$custom: #781b38;
$custom-light: #a4606e;
$custom-dark: #000000;
JSON
{
  "hex": "#781b38",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 56
  },
  "hsl": {
    "h": 341.29,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38649,
    "c": 0.128,
    "h": 7.1
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#781B38
secondary
#43AC8B
accent
#E6B341
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #781B38

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

Preview Lab → · Contrast checker → · Palette generator →

#781B38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva