#781740#781740

#781740 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.5% C 0.135 H 0.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#781740
RGBrgb(120, 23, 64)
HSLhsl(335, 68%, 28%)
HSVhsv(335, 81%, 47%)
CMYKcmyk(0%, 80.8%, 46.7%, 52.9%)
CIE-LABlab(26.67, 43.79, 0.37)
CIE-LCHlch(26.67, 43.79, 0.49°)
OKLaboklab(38.55% 0.1345 0.0014)
OKLCHoklch(38.55% 0.135 0.6)
XYZxyz(8.9783, 4.9772, 5.3374)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781740 #17784F
analogous
#781770 #781740 #781E17
triadic
#781740 #407817 #174078
tetradic
#781740 #707817 #17784F #1E1778
square
#781740 #707817 #17784F #1E1778
split-complementary
#781740 #17781E #177078
monochromatic
#1A050E #450D25 #781740 #AB215B #D83278

Accessibility & contrast

On white

10.53
#781740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#781740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781740
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781740#FFFFFF#000000##FFFFFF
##7817401.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3341
Deuteranopia (green-blind)
#48463E
Tritanopia (blue-blind)
#830329
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781740;
/* rgb */ color: rgb(120, 23, 64);
/* oklch */ color: oklch(38.5% 0.135 0.6);
Tailwind
colors: {
  custom: {
    50: '#a45f74',
    500: '#781740',
    950: '#000000',
  },
}
SCSS
$custom: #781740;
$custom-light: #a45f74;
$custom-dark: #000000;
JSON
{
  "hex": "#781740",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 334.639,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.13451,
    "h": 0.6
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#781740
secondary
#3EAD7E
accent
#EBA13D
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #781740

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

Preview Lab → · Contrast checker → · Palette generator →

#781740 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva