#782F4E#782F4E

#782F4E is a dark, moderate pink. Relative luminance 0.066; OKLCH L 41.8% C 0.108 H 356.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#782F4E
RGBrgb(120, 47, 78)
HSLhsl(335, 44%, 33%)
HSVhsv(335, 61%, 47%)
CMYKcmyk(0%, 60.8%, 35%, 52.9%)
CIE-LABlab(30.82, 35.29, -2.83)
CIE-LCHlch(30.82, 35.41, 355.41°)
OKLaboklab(41.77% 0.1075 -0.007)
OKLCHoklch(41.77% 0.108 356.3)
XYZxyz(10.1379, 6.5772, 7.9419)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782F4E #2F7859
analogous
#782F72 #782F4E #78352F
triadic
#782F4E #4E782F #2F4E78
tetradic
#782F4E #72782F #2F7859 #352F78
square
#782F4E #72782F #2F7859 #352F78
split-complementary
#782F4E #2F7835 #2F7278
monochromatic
#200D15 #4C1E31 #782F4E #A4406B #C16089

Accessibility & contrast

On white

9.07
#782F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#782F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782F4E
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782F4E#FFFFFF#000000##FFFFFF
##782F4E1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A404F
Deuteranopia (green-blind)
#4E4E4C
Tritanopia (blue-blind)
#812A3B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782f4e;
/* rgb */ color: rgb(120, 47, 78);
/* oklch */ color: oklch(41.8% 0.108 356.3);
Tailwind
colors: {
  custom: {
    50: '#a26b7f',
    500: '#782f4e',
    950: '#000000',
  },
}
SCSS
$custom: #782f4e;
$custom-light: #a26b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#782f4e",
  "rgb": {
    "r": 120,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 334.521,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41772,
    "c": 0.10773,
    "h": 356.3
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#782F4E
secondary
#5BA887
accent
#D39D54
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F070A
muted
#7F7A7C

Preview Lab

Preview with #782F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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