#781A38#781A38

#781A38 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.129 H 6.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#781A38
RGBrgb(120, 26, 56)
HSLhsl(341, 64%, 29%)
HSVhsv(341, 78%, 47%)
CMYKcmyk(0%, 78.3%, 53.3%, 52.9%)
CIE-LABlab(26.79, 42.02, 5.96)
CIE-LCHlch(26.79, 42.44, 8.07°)
OKLaboklab(38.56% 0.1282 0.0155)
OKLCHoklch(38.56% 0.129 6.9)
XYZxyz(8.8297, 5.0186, 4.2443)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781A38 #1A785A
analogous
#781A67 #781A38 #782B1A
triadic
#781A38 #38781A #1A3878
tetradic
#781A38 #67781A #1A785A #2B1A78
square
#781A38 #67781A #1A785A #2B1A78
split-complementary
#781A38 #1A782B #1A6778
monochromatic
#19050C #460F21 #781A38 #AA254F #D4386A

Accessibility & contrast

On white

10.48
#781A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#781A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781A38
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781A38#FFFFFF#000000##FFFFFF
##781A381.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323339
Deuteranopia (green-blind)
#4A4636
Tritanopia (blue-blind)
#830227
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781a38;
/* rgb */ color: rgb(120, 26, 56);
/* oklch */ color: oklch(38.6% 0.129 6.9);
Tailwind
colors: {
  custom: {
    50: '#a4606e',
    500: '#781a38',
    950: '#000000',
  },
}
SCSS
$custom: #781a38;
$custom-light: #a4606e;
$custom-dark: #000000;
JSON
{
  "hex": "#781a38",
  "rgb": {
    "r": 120,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 340.851,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.12909,
    "h": 6.9
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#781A38
secondary
#41AC8A
accent
#E7B240
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #781A38

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

Preview Lab → · Contrast checker → · Palette generator →

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