#781731#781731

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

Color values

HEX#781731
RGBrgb(120, 23, 49)
HSLhsl(344, 68%, 28%)
HSVhsv(344, 81%, 47%)
CMYKcmyk(0%, 80.8%, 59.2%, 52.9%)
CIE-LABlab(26.24, 42.46, 9.95)
CIE-LCHlch(26.24, 43.61, 13.19°)
OKLaboklab(38.09% 0.1286 0.0249)
OKLCHoklch(38.09% 0.131 11)
XYZxyz(8.6073, 4.8289, 3.3840)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781731 #17785E
analogous
#781761 #781731 #782E17
triadic
#781731 #317817 #173178
tetradic
#781731 #617817 #17785E #2E1778
square
#781731 #617817 #17785E #2E1778
split-complementary
#781731 #17782E #176178
monochromatic
#1A050A #450D1C #781731 #AB2146 #D8325E

Accessibility & contrast

On white

10.68
#781731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#781731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781731
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781731#FFFFFF#000000##FFFFFF
##7817311.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323131
Deuteranopia (green-blind)
#4A452F
Tritanopia (blue-blind)
#840022
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #781731;
/* rgb */ color: rgb(120, 23, 49);
/* oklch */ color: oklch(38.1% 0.131 11.0);
Tailwind
colors: {
  custom: {
    50: '#a55f68',
    500: '#781731',
    950: '#000000',
  },
}
SCSS
$custom: #781731;
$custom-light: #a55f68;
$custom-dark: #000000;
JSON
{
  "hex": "#781731",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 343.918,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38092,
    "c": 0.13095,
    "h": 11
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#781731
secondary
#3EAD8F
accent
#EBBC3D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100506
muted
#7F797A

Preview Lab

Preview with #781731

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

Preview Lab → · Contrast checker → · Palette generator →

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