#782852#782852

#782852 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.0% C 0.121 H 351.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#782852
RGBrgb(120, 40, 82)
HSLhsl(329, 50%, 31%)
HSVhsv(329, 67%, 47%)
CMYKcmyk(0%, 66.7%, 31.7%, 52.9%)
CIE-LABlab(29.72, 39.21, -7.11)
CIE-LCHlch(29.72, 39.85, 349.73°)
OKLaboklab(41% 0.1194 -0.0184)
OKLCHoklch(41% 0.121 351.2)
XYZxyz(10.0280, 6.1209, 8.6344)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782852 #28784E
analogous
#762878 #782852 #78282A
triadic
#782852 #527828 #285278
tetradic
#782852 #787628 #28784E #282A78
square
#782852 #787628 #28784E #282A78
split-complementary
#782852 #2A7828 #287876
monochromatic
#1C0913 #4A1933 #782852 #A63771 #C65490

Accessibility & contrast

On white

9.44
#782852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#782852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782852
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782852#FFFFFF#000000##FFFFFF
##7828521.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#4A4B50
Tritanopia (blue-blind)
#812439
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #782852;
/* rgb */ color: rgb(120, 40, 82);
/* oklch */ color: oklch(41.0% 0.121 351.2);
Tailwind
colors: {
  custom: {
    50: '#a26782',
    500: '#782852',
    950: '#000000',
  },
}
SCSS
$custom: #782852;
$custom-light: #a26782;
$custom-dark: #000000;
JSON
{
  "hex": "#782852",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 328.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40997,
    "c": 0.12076,
    "h": 351.2
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#782852
secondary
#52AA7C
accent
#DA904E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F060A
muted
#7F7A7C

Preview Lab

Preview with #782852

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

Preview Lab → · Contrast checker → · Palette generator →

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