#782845#782845

#782845 is a dark, moderate pink. Relative luminance 0.059; OKLCH L 40.5% C 0.115 H 1.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#782845
RGBrgb(120, 40, 69)
HSLhsl(338, 50%, 31%)
HSVhsv(338, 67%, 47%)
CMYKcmyk(0%, 66.7%, 42.5%, 52.9%)
CIE-LABlab(29.26, 37.58, 0.80)
CIE-LCHlch(29.26, 37.59, 1.22°)
OKLaboklab(40.52% 0.1149 0.0025)
OKLCHoklch(40.52% 0.115 1.3)
XYZxyz(9.5793, 5.9414, 6.2714)
Luminance0.0594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782845 #28785B
analogous
#78286D #782845 #783328
triadic
#782845 #457828 #284578
tetradic
#782845 #6D7828 #28785B #332878
square
#782845 #6D7828 #28785B #332878
split-complementary
#782845 #287833 #286D78
monochromatic
#1C0910 #4A192B #782845 #A6375F #C6547E

Accessibility & contrast

On white

9.60
#782845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#782845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782845
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782845#FFFFFF#000000##FFFFFF
##7828451.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B46
Deuteranopia (green-blind)
#4D4B43
Tritanopia (blue-blind)
#821F33
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #782845;
/* rgb */ color: rgb(120, 40, 69);
/* oklch */ color: oklch(40.5% 0.115 1.3);
Tailwind
colors: {
  custom: {
    50: '#a36778',
    500: '#782845',
    950: '#000000',
  },
}
SCSS
$custom: #782845;
$custom-light: #a36778;
$custom-dark: #000000;
JSON
{
  "hex": "#782845",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 338.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40515,
    "c": 0.11489,
    "h": 1.3
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#782845
secondary
#52AA8A
accent
#DAA74E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #782845

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

Preview Lab → · Contrast checker → · Palette generator →

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