#781438#781438

#781438 is a dark, vivid pink. Relative luminance 0.048; OKLCH L 38.0% C 0.135 H 5.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#781438
RGBrgb(120, 20, 56)
HSLhsl(338, 71%, 27%)
HSVhsv(338, 83%, 47%)
CMYKcmyk(0%, 83.3%, 53.3%, 52.9%)
CIE-LABlab(26.10, 43.97, 4.98)
CIE-LCHlch(26.10, 44.25, 6.47°)
OKLaboklab(38.05% 0.1344 0.013)
OKLCHoklch(38.05% 0.135 5.5)
XYZxyz(8.7105, 4.7801, 4.2046)
Luminance0.0478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781438 #147854
analogous
#78146A #781438 #782214
triadic
#781438 #387814 #143878
tetradic
#781438 #6A7814 #147854 #221478
square
#781438 #6A7814 #147854 #221478
split-complementary
#781438 #147822 #146A78
monochromatic
#1A040C #440B20 #781438 #AC1D50 #DC2B6A

Accessibility & contrast

On white

10.74
#781438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#781438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781438
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781438#FFFFFF#000000##FFFFFF
##7814381.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3139
Deuteranopia (green-blind)
#494536
Tritanopia (blue-blind)
#830024
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781438;
/* rgb */ color: rgb(120, 20, 56);
/* oklch */ color: oklch(38.0% 0.135 5.5);
Tailwind
colors: {
  custom: {
    50: '#a45e6e',
    500: '#781438',
    950: '#000000',
  },
}
SCSS
$custom: #781438;
$custom-light: #a45e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#781438",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 56
  },
  "hsl": {
    "h": 338.4,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38048,
    "c": 0.13507,
    "h": 5.5
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#781438
secondary
#3AAE84
accent
#EEAD3A
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #781438

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

Preview Lab → · Contrast checker → · Palette generator →

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