#781C38#781C38

#781C38 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.7% C 0.127 H 7.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#781C38
RGBrgb(120, 28, 56)
HSLhsl(342, 62%, 29%)
HSVhsv(342, 77%, 47%)
CMYKcmyk(0%, 76.7%, 53.3%, 52.9%)
CIE-LABlab(27.05, 41.30, 6.32)
CIE-LCHlch(27.05, 41.78, 8.71°)
OKLaboklab(38.75% 0.1258 0.0164)
OKLCHoklch(38.75% 0.127 7.4)
XYZxyz(8.8756, 5.1103, 4.2596)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781C38 #1C785C
analogous
#781C66 #781C38 #782E1C
triadic
#781C38 #38781C #1C3878
tetradic
#781C38 #66781C #1C785C #2E1C78
square
#781C38 #66781C #1C785C #2E1C78
split-complementary
#781C38 #1C782E #1C6678
monochromatic
#19060C #461021 #781C38 #AA284F #D23D6A

Accessibility & contrast

On white

10.39
#781C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#781C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781C38
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781C38#FFFFFF#000000##FFFFFF
##781C381.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#830628
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #781c38;
/* rgb */ color: rgb(120, 28, 56);
/* oklch */ color: oklch(38.7% 0.127 7.4);
Tailwind
colors: {
  custom: {
    50: '#a4616e',
    500: '#781c38',
    950: '#000000',
  },
}
SCSS
$custom: #781c38;
$custom-light: #a4616e;
$custom-dark: #000000;
JSON
{
  "hex": "#781c38",
  "rgb": {
    "r": 120,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 341.739,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38746,
    "c": 0.12689,
    "h": 7.4
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#781C38
secondary
#44AC8C
accent
#E5B443
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #781C38

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

Preview Lab → · Contrast checker → · Palette generator →

#781C38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva