#781E38#781E38

#781E38 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 38.9% C 0.125 H 8.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#781E38
RGBrgb(120, 30, 56)
HSLhsl(343, 60%, 29%)
HSVhsv(343, 75%, 47%)
CMYKcmyk(0%, 75%, 53.3%, 52.9%)
CIE-LABlab(27.32, 40.53, 6.71)
CIE-LCHlch(27.32, 41.09, 9.40°)
OKLaboklab(38.95% 0.1234 0.0173)
OKLCHoklch(38.95% 0.125 8)
XYZxyz(8.9246, 5.2083, 4.2760)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E38 #1E785E
analogous
#781E65 #781E38 #78311E
triadic
#781E38 #38781E #1E3878
tetradic
#781E38 #65781E #1E785E #311E78
square
#781E38 #65781E #1E785E #311E78
split-complementary
#781E38 #1E7831 #1E6578
monochromatic
#18060B #471221 #781E38 #A92A4F #CF416A

Accessibility & contrast

On white

10.29
#781E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#781E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E38
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E38#FFFFFF#000000##FFFFFF
##781E381.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)
#343539
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#830B29
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781e38;
/* rgb */ color: rgb(120, 30, 56);
/* oklch */ color: oklch(38.9% 0.125 8.0);
Tailwind
colors: {
  custom: {
    50: '#a4626e',
    500: '#781e38',
    950: '#000000',
  },
}
SCSS
$custom: #781e38;
$custom-light: #a4626e;
$custom-dark: #000000;
JSON
{
  "hex": "#781e38",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 56
  },
  "hsl": {
    "h": 342.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.12459,
    "h": 8
  },
  "luminance": 0.05207
}

Semantic roles & 50–950 ramp

primary
#781E38
secondary
#46AC8E
accent
#E3B545
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #781E38

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

Preview Lab → · Contrast checker → · Palette generator →

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