#782148#782148

#782148 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.126 H 357.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#782148
RGBrgb(120, 33, 72)
HSLhsl(333, 57%, 30%)
HSVhsv(333, 73%, 47%)
CMYKcmyk(0%, 72.5%, 40%, 52.9%)
CIE-LABlab(28.25, 40.99, -2.68)
CIE-LCHlch(28.25, 41.08, 356.26°)
OKLaboklab(39.8% 0.1256 -0.0065)
OKLCHoklch(39.8% 0.126 357)
XYZxyz(9.4599, 5.5498, 6.7027)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782148 #217851
analogous
#782174 #782148 #782521
triadic
#782148 #487821 #214878
tetradic
#782148 #747821 #217851 #252178
square
#782148 #747821 #217851 #252178
split-complementary
#782148 #217825 #217478
monochromatic
#18070E #48142B #782148 #A82E65 #CC4783

Accessibility & contrast

On white

9.95
#782148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#782148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782148
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782148#FFFFFF#000000##FFFFFF
##7821481.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323849
Deuteranopia (green-blind)
#494946
Tritanopia (blue-blind)
#821831
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #782148;
/* rgb */ color: rgb(120, 33, 72);
/* oklch */ color: oklch(39.8% 0.126 357.0);
Tailwind
colors: {
  custom: {
    50: '#a3647a',
    500: '#782148',
    950: '#000000',
  },
}
SCSS
$custom: #782148;
$custom-light: #a3647a;
$custom-dark: #000000;
JSON
{
  "hex": "#782148",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 333.103,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.39795,
    "c": 0.1258,
    "h": 357
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#782148
secondary
#4AAB7F
accent
#E09C48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #782148

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

Preview Lab → · Contrast checker → · Palette generator →

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