#781E3F#781E3F

#781E3F is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.2% C 0.126 H 2.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#781E3F
RGBrgb(120, 30, 63)
HSLhsl(338, 60%, 29%)
HSVhsv(338, 75%, 47%)
CMYKcmyk(0%, 75%, 47.5%, 52.9%)
CIE-LABlab(27.52, 41.21, 2.28)
CIE-LCHlch(27.52, 41.27, 3.17°)
OKLaboklab(39.16% 0.1262 0.0063)
OKLCHoklch(39.16% 0.126 2.9)
XYZxyz(9.1079, 5.2817, 5.2415)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781E3F #1E7857
analogous
#781E6C #781E3F #782A1E
triadic
#781E3F #3F781E #1E3F78
tetradic
#781E3F #6C781E #1E7857 #2A1E78
square
#781E3F #6C781E #1E7857 #2A1E78
split-complementary
#781E3F #1E782A #1E6C78
monochromatic
#18060D #471225 #781E3F #A92A59 #CF4175

Accessibility & contrast

On white

10.21
#781E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#781E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781E3F
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781E3F#FFFFFF#000000##FFFFFF
##781E3F1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#4A473D
Tritanopia (blue-blind)
#830F2C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781e3f;
/* rgb */ color: rgb(120, 30, 63);
/* oklch */ color: oklch(39.2% 0.126 2.9);
Tailwind
colors: {
  custom: {
    50: '#a46273',
    500: '#781e3f',
    950: '#000000',
  },
}
SCSS
$custom: #781e3f;
$custom-light: #a46273;
$custom-dark: #000000;
JSON
{
  "hex": "#781e3f",
  "rgb": {
    "r": 120,
    "g": 30,
    "b": 63
  },
  "hsl": {
    "h": 338,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.12633,
    "h": 2.9
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#781E3F
secondary
#46AC86
accent
#E3A945
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #781E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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