#781538#781538

#781538 is a dark, vivid pink. Relative luminance 0.048; OKLCH L 38.1% C 0.134 H 5.7°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#781538
RGBrgb(120, 21, 56)
HSLhsl(339, 70%, 28%)
HSVhsv(339, 83%, 47%)
CMYKcmyk(0%, 82.5%, 53.3%, 52.9%)
CIE-LABlab(26.20, 43.67, 5.13)
CIE-LCHlch(26.20, 43.97, 6.71°)
OKLaboklab(38.13% 0.1335 0.0134)
OKLCHoklch(38.13% 0.134 5.7)
XYZxyz(8.7285, 4.8162, 4.2106)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781538 #157855
analogous
#781569 #781538 #782415
triadic
#781538 #387815 #153878
tetradic
#781538 #697815 #157855 #241578
square
#781538 #697815 #157855 #241578
split-complementary
#781538 #157824 #156978
monochromatic
#1A050C #440C20 #781538 #AC1E50 #DA2D6A

Accessibility & contrast

On white

10.70
#781538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781538
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781538#FFFFFF#000000##FFFFFF
##7815381.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781538;
/* rgb */ color: rgb(120, 21, 56);
/* oklch */ color: oklch(38.1% 0.134 5.7);
Tailwind
colors: {
  custom: {
    50: '#a45e6e',
    500: '#781538',
    950: '#000000',
  },
}
SCSS
$custom: #781538;
$custom-light: #a45e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#781538",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 338.788,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38125,
    "c": 0.13414,
    "h": 5.7
  },
  "luminance": 0.04815
}

Semantic roles & 50–950 ramp

primary
#781538
secondary
#3BAE85
accent
#EDAE3B
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #781538

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

Preview Lab → · Contrast checker → · Palette generator →

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