#781F3C#781F3C

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

Color values

HEX#781F3C
RGBrgb(120, 31, 60)
HSLhsl(340, 59%, 30%)
HSVhsv(340, 74%, 47%)
CMYKcmyk(0%, 74.2%, 50%, 52.9%)
CIE-LABlab(27.57, 40.52, 4.38)
CIE-LCHlch(27.57, 40.75, 6.16°)
OKLaboklab(39.17% 0.1237 0.0116)
OKLCHoklch(39.17% 0.124 5.3)
XYZxyz(9.0521, 5.3005, 4.8205)
Luminance0.0530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F3C #1F785B
analogous
#781F69 #781F3C #782E1F
triadic
#781F3C #3C781F #1F3C78
tetradic
#781F3C #69781F #1F785B #2E1F78
square
#781F3C #69781F #1F785B #2E1F78
split-complementary
#781F3C #1F782E #1F6978
monochromatic
#18060C #471224 #781F3C #A92C54 #CE4370

Accessibility & contrast

On white

10.20
#781F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781F3C
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F3C#FFFFFF#000000##FFFFFF
##781F3C1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34363D
Deuteranopia (green-blind)
#4B483A
Tritanopia (blue-blind)
#830F2B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781f3c;
/* rgb */ color: rgb(120, 31, 60);
/* oklch */ color: oklch(39.2% 0.124 5.3);
Tailwind
colors: {
  custom: {
    50: '#a46271',
    500: '#781f3c',
    950: '#000000',
  },
}
SCSS
$custom: #781f3c;
$custom-light: #a46271;
$custom-dark: #000000;
JSON
{
  "hex": "#781f3c",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 60
  },
  "hsl": {
    "h": 340.449,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39173,
    "c": 0.12428,
    "h": 5.3
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#781F3C
secondary
#47AB8B
accent
#E2AF46
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #781F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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