#782138#782138

#782138 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.3% C 0.121 H 8.9°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#782138
RGBrgb(120, 33, 56)
HSLhsl(344, 57%, 30%)
HSVhsv(344, 73%, 47%)
CMYKcmyk(0%, 72.5%, 53.3%, 52.9%)
CIE-LABlab(27.76, 39.32, 7.32)
CIE-LCHlch(27.76, 40.00, 10.55°)
OKLaboklab(39.27% 0.1195 0.0188)
OKLCHoklch(39.27% 0.121 8.9)
XYZxyz(9.0042, 5.3675, 4.3025)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782138 #217861
analogous
#782164 #782138 #783521
triadic
#782138 #387821 #213878
tetradic
#782138 #647821 #217861 #352178
square
#782138 #647821 #217861 #352178
split-complementary
#782138 #217835 #216478
monochromatic
#18070B #481422 #782138 #A82E4E #CC476A

Accessibility & contrast

On white

10.13
#782138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#782138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782138
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782138#FFFFFF#000000##FFFFFF
##7821381.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363638
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#83102A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #782138;
/* rgb */ color: rgb(120, 33, 56);
/* oklch */ color: oklch(39.3% 0.121 8.9);
Tailwind
colors: {
  custom: {
    50: '#a4636e',
    500: '#782138',
    950: '#000000',
  },
}
SCSS
$custom: #782138;
$custom-light: #a4636e;
$custom-dark: #000000;
JSON
{
  "hex": "#782138",
  "rgb": {
    "r": 120,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 344.138,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.12098,
    "h": 8.9
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#782138
secondary
#4AAB91
accent
#E0B848
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #782138

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

Preview Lab → · Contrast checker → · Palette generator →

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