#78245A#78245A

#78245A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.131 H 345.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#78245A
RGBrgb(120, 36, 90)
HSLhsl(321, 54%, 31%)
HSVhsv(321, 70%, 47%)
CMYKcmyk(0%, 70%, 25%, 52.9%)
CIE-LABlab(29.40, 42.10, -12.83)
CIE-LCHlch(29.40, 44.01, 343.06°)
OKLaboklab(40.87% 0.127 -0.0341)
OKLCHoklch(40.87% 0.131 345)
XYZxyz(10.2224, 5.9940, 10.2895)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78245A #247842
analogous
#6C2478 #78245A #782430
triadic
#78245A #5A7824 #245A78
tetradic
#78245A #786C24 #247842 #243078
square
#78245A #786C24 #247842 #243078
split-complementary
#78245A #307824 #24786C
monochromatic
#1A0813 #491637 #78245A #A7327D #CA4D9D

Accessibility & contrast

On white

9.55
#78245A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#78245A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78245A
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78245A#FFFFFF#000000##FFFFFF
##78245A1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5C
Deuteranopia (green-blind)
#464A58
Tritanopia (blue-blind)
#80233B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #78245a;
/* rgb */ color: rgb(120, 36, 90);
/* oklch */ color: oklch(40.9% 0.131 345.0);
Tailwind
colors: {
  custom: {
    50: '#a26688',
    500: '#78245a',
    950: '#000000',
  },
}
SCSS
$custom: #78245a;
$custom-light: #a26688;
$custom-dark: #000000;
JSON
{
  "hex": "#78245a",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 90
  },
  "hsl": {
    "h": 321.429,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40869,
    "c": 0.13149,
    "h": 345
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#78245A
secondary
#4DAB6F
accent
#DD7F4B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #78245A

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

Preview Lab → · Contrast checker → · Palette generator →

#78245A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva