#782452#782452

#782452 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.127 H 350.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#782452
RGBrgb(120, 36, 82)
HSLhsl(327, 54%, 31%)
HSVhsv(327, 70%, 47%)
CMYKcmyk(0%, 70%, 31.7%, 52.9%)
CIE-LABlab(29.07, 40.99, -8.08)
CIE-LCHlch(29.07, 41.78, 348.85°)
OKLaboklab(40.52% 0.1249 -0.021)
OKLCHoklch(40.52% 0.127 350.4)
XYZxyz(9.9001, 5.8651, 8.5917)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782452 #24784A
analogous
#742478 #782452 #782428
triadic
#782452 #527824 #245278
tetradic
#782452 #787424 #24784A #242878
square
#782452 #787424 #24784A #242878
split-complementary
#782452 #287824 #247874
monochromatic
#1A0812 #491632 #782452 #A73272 #CA4D91

Accessibility & contrast

On white

9.66
#782452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#782452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782452
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782452#FFFFFF#000000##FFFFFF
##7824521.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#812037
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782452;
/* rgb */ color: rgb(120, 36, 82);
/* oklch */ color: oklch(40.5% 0.127 350.4);
Tailwind
colors: {
  custom: {
    50: '#a26582',
    500: '#782452',
    950: '#000000',
  },
}
SCSS
$custom: #782452;
$custom-light: #a26582;
$custom-dark: #000000;
JSON
{
  "hex": "#782452",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 327.143,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40521,
    "c": 0.12663,
    "h": 350.4
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#782452
secondary
#4DAB77
accent
#DD8D4B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#0F060A
muted
#7F7A7C

Preview Lab

Preview with #782452

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

Preview Lab → · Contrast checker → · Palette generator →

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