#782A42#782A42

#782A42 is a dark, moderate pink. Relative luminance 0.060; OKLCH L 40.7% C 0.111 H 4.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#782A42
RGBrgb(120, 42, 66)
HSLhsl(342, 48%, 32%)
HSVhsv(342, 65%, 47%)
CMYKcmyk(0%, 65%, 45%, 52.9%)
CIE-LABlab(29.52, 36.29, 3.16)
CIE-LCHlch(29.52, 36.43, 4.98°)
OKLaboklab(40.68% 0.1107 0.0086)
OKLCHoklch(40.68% 0.111 4.4)
XYZxyz(9.5577, 6.0435, 5.8164)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782A42 #2A7860
analogous
#782A69 #782A42 #78392A
triadic
#782A42 #42782A #2A4278
tetradic
#782A42 #69782A #2A7860 #392A78
square
#782A42 #69782A #2A7860 #392A78
split-complementary
#782A42 #2A7839 #2A6978
monochromatic
#1D0A10 #4B1A29 #782A42 #A53A5B #C55879

Accessibility & contrast

On white

9.51
#782A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#782A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782A42
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782A42#FFFFFF#000000##FFFFFF
##782A421.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3C43
Deuteranopia (green-blind)
#4E4B40
Tritanopia (blue-blind)
#822133
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #782a42;
/* rgb */ color: rgb(120, 42, 66);
/* oklch */ color: oklch(40.7% 0.111 4.4);
Tailwind
colors: {
  custom: {
    50: '#a36876',
    500: '#782a42',
    950: '#000000',
  },
}
SCSS
$custom: #782a42;
$custom-light: #a36876;
$custom-dark: #000000;
JSON
{
  "hex": "#782a42",
  "rgb": {
    "r": 120,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 341.538,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40676,
    "c": 0.11104,
    "h": 4.4
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#782A42
secondary
#54AA8F
accent
#D8AE50
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #782A42

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

Preview Lab → · Contrast checker → · Palette generator →

#782A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva