#781842#781842

#781842 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.134 H 359.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#781842
RGBrgb(120, 24, 66)
HSLhsl(334, 67%, 28%)
HSVhsv(334, 80%, 47%)
CMYKcmyk(0%, 80%, 45%, 52.9%)
CIE-LABlab(26.85, 43.67, -0.71)
CIE-LCHlch(26.85, 43.68, 359.06°)
OKLaboklab(38.7% 0.1342 -0.0014)
OKLCHoklch(38.7% 0.134 359.4)
XYZxyz(9.0564, 5.0409, 5.6493)
Luminance0.0504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781842 #18784E
analogous
#781872 #781842 #781E18
triadic
#781842 #427818 #184278
tetradic
#781842 #727818 #18784E #1E1878
square
#781842 #727818 #18784E #1E1878
split-complementary
#781842 #18781E #187278
monochromatic
#1A050E #450E26 #781842 #AB225E #D6347B

Accessibility & contrast

On white

10.46
#781842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#781842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781842
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781842#FFFFFF#000000##FFFFFF
##7818421.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#484640
Tritanopia (blue-blind)
#83062B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #781842;
/* rgb */ color: rgb(120, 24, 66);
/* oklch */ color: oklch(38.7% 0.134 359.4);
Tailwind
colors: {
  custom: {
    50: '#a45f76',
    500: '#781842',
    950: '#000000',
  },
}
SCSS
$custom: #781842;
$custom-light: #a45f76;
$custom-dark: #000000;
JSON
{
  "hex": "#781842",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 333.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.13419,
    "h": 359.4
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#781842
secondary
#3FAD7D
accent
#EA9F3E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #781842

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

Preview Lab → · Contrast checker → · Palette generator →

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