#781840#781840

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

Color values

HEX#781840
RGBrgb(120, 24, 64)
HSLhsl(335, 67%, 28%)
HSVhsv(335, 80%, 47%)
CMYKcmyk(0%, 80%, 46.7%, 52.9%)
CIE-LABlab(26.79, 43.47, 0.54)
CIE-LCHlch(26.79, 43.47, 0.71°)
OKLaboklab(38.63% 0.1335 0.0019)
OKLCHoklch(38.63% 0.133 0.8)
XYZxyz(8.9985, 5.0177, 5.3442)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781840 #187850
analogous
#781870 #781840 #782018
triadic
#781840 #407818 #184078
tetradic
#781840 #707818 #187850 #201878
square
#781840 #707818 #187850 #201878
split-complementary
#781840 #187820 #187078
monochromatic
#1A050E #450E25 #781840 #AB225B #D63478

Accessibility & contrast

On white

10.48
#781840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##781840#FFFFFF#000000##FFFFFF
##7818401.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)
#2E3441
Deuteranopia (green-blind)
#48463E
Tritanopia (blue-blind)
#83042A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781840;
/* rgb */ color: rgb(120, 24, 64);
/* oklch */ color: oklch(38.6% 0.133 0.8);
Tailwind
colors: {
  custom: {
    50: '#a45f74',
    500: '#781840',
    950: '#000000',
  },
}
SCSS
$custom: #781840;
$custom-light: #a45f74;
$custom-dark: #000000;
JSON
{
  "hex": "#781840",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 335,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38632,
    "c": 0.13347,
    "h": 0.8
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#781840
secondary
#3FAD7F
accent
#EAA23E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #781840

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

Preview Lab → · Contrast checker → · Palette generator →

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