#781540#781540

#781540 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.4% C 0.137 H 0.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#781540
RGBrgb(120, 21, 64)
HSLhsl(334, 70%, 28%)
HSVhsv(334, 83%, 47%)
CMYKcmyk(0%, 82.5%, 46.7%, 52.9%)
CIE-LABlab(26.45, 44.41, 0.05)
CIE-LCHlch(26.45, 44.41, 0.07°)
OKLaboklab(38.39% 0.1365 0.0006)
OKLCHoklch(38.39% 0.137 0.3)
XYZxyz(8.9400, 4.9008, 5.3247)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781540 #15784D
analogous
#781572 #781540 #781B15
triadic
#781540 #407815 #154078
tetradic
#781540 #727815 #15784D #1B1578
square
#781540 #727815 #15784D #1B1578
split-complementary
#781540 #15781B #157278
monochromatic
#1A050E #440C24 #781540 #AC1E5C #DA2D78

Accessibility & contrast

On white

10.61
#781540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#781540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781540
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781540#FFFFFF#000000##FFFFFF
##7815401.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3241
Deuteranopia (green-blind)
#47453E
Tritanopia (blue-blind)
#830028
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781540;
/* rgb */ color: rgb(120, 21, 64);
/* oklch */ color: oklch(38.4% 0.137 0.3);
Tailwind
colors: {
  custom: {
    50: '#a45e74',
    500: '#781540',
    950: '#000000',
  },
}
SCSS
$custom: #781540;
$custom-light: #a45e74;
$custom-dark: #000000;
JSON
{
  "hex": "#781540",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 64
  },
  "hsl": {
    "h": 333.939,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38386,
    "c": 0.13651,
    "h": 0.3
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#781540
secondary
#3BAE7C
accent
#EDA03B
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #781540

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

Preview Lab → · Contrast checker → · Palette generator →

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