#782252#782252

#782252 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.129 H 350.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#782252
RGBrgb(120, 34, 82)
HSLhsl(327, 56%, 30%)
HSVhsv(327, 72%, 47%)
CMYKcmyk(0%, 71.7%, 31.7%, 52.9%)
CIE-LABlab(28.77, 41.83, -8.54)
CIE-LCHlch(28.77, 42.69, 348.47°)
OKLaboklab(40.3% 0.1275 -0.0222)
OKLCHoklch(40.3% 0.129 350.1)
XYZxyz(9.8412, 5.7474, 8.5721)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782252 #227848
analogous
#732278 #782252 #782227
triadic
#782252 #527822 #225278
tetradic
#782252 #787322 #227848 #222778
square
#782252 #787322 #227848 #222778
split-complementary
#782252 #277822 #227873
monochromatic
#190711 #481431 #782252 #A83073 #CB4992

Accessibility & contrast

On white

9.77
#782252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#782252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782252
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782252#FFFFFF#000000##FFFFFF
##7822521.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A53
Deuteranopia (green-blind)
#474950
Tritanopia (blue-blind)
#811D37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782252;
/* rgb */ color: rgb(120, 34, 82);
/* oklch */ color: oklch(40.3% 0.129 350.1);
Tailwind
colors: {
  custom: {
    50: '#a26482',
    500: '#782252',
    950: '#000000',
  },
}
SCSS
$custom: #782252;
$custom-light: #a26482;
$custom-dark: #000000;
JSON
{
  "hex": "#782252",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 326.512,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40298,
    "c": 0.12942,
    "h": 350.1
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#782252
secondary
#4BAB75
accent
#DF8B49
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F060A
muted
#7F7A7C

Preview Lab

Preview with #782252

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

Preview Lab → · Contrast checker → · Palette generator →

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