#781431#781431

#781431 is a dark, vivid pink. Relative luminance 0.047; OKLCH L 37.8% C 0.134 H 10.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#781431
RGBrgb(120, 20, 49)
HSLhsl(343, 71%, 27%)
HSVhsv(343, 83%, 47%)
CMYKcmyk(0%, 83.3%, 59.2%, 52.9%)
CIE-LABlab(25.91, 43.39, 9.50)
CIE-LCHlch(25.91, 44.42, 12.34°)
OKLaboklab(37.85% 0.1316 0.0238)
OKLCHoklch(37.85% 0.134 10.3)
XYZxyz(8.5511, 4.7164, 3.3652)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781431 #14785B
analogous
#781463 #781431 #782914
triadic
#781431 #317814 #143178
tetradic
#781431 #637814 #14785B #291478
square
#781431 #637814 #14785B #291478
split-complementary
#781431 #147829 #146378
monochromatic
#1A040B #440B1C #781431 #AC1D46 #DC2B5E

Accessibility & contrast

On white

10.81
#781431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#781431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781431
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781431#FFFFFF#000000##FFFFFF
##7814311.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303031
Deuteranopia (green-blind)
#4A452E
Tritanopia (blue-blind)
#840021
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #781431;
/* rgb */ color: rgb(120, 20, 49);
/* oklch */ color: oklch(37.8% 0.134 10.3);
Tailwind
colors: {
  custom: {
    50: '#a55d68',
    500: '#781431',
    950: '#000000',
  },
}
SCSS
$custom: #781431;
$custom-light: #a55d68;
$custom-dark: #000000;
JSON
{
  "hex": "#781431",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 49
  },
  "hsl": {
    "h": 342.6,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37848,
    "c": 0.13372,
    "h": 10.3
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#781431
secondary
#3AAE8C
accent
#EEBA3A
background
#FAF5F6
surface
#F4E9EB
border
#CEC5C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #781431

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

Preview Lab → · Contrast checker → · Palette generator →

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