#781F3F#781F3F

#781F3F is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.125 H 3.1°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#781F3F
RGBrgb(120, 31, 63)
HSLhsl(338, 59%, 30%)
HSVhsv(338, 74%, 47%)
CMYKcmyk(0%, 74.2%, 47.5%, 52.9%)
CIE-LABlab(27.66, 40.81, 2.49)
CIE-LCHlch(27.66, 40.89, 3.49°)
OKLaboklab(39.27% 0.1249 0.0068)
OKLCHoklch(39.27% 0.125 3.1)
XYZxyz(9.1336, 5.3331, 5.2501)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F3F #1F7858
analogous
#781F6C #781F3F #782C1F
triadic
#781F3F #3F781F #1F3F78
tetradic
#781F3F #6C781F #1F7858 #2C1F78
square
#781F3F #6C781F #1F7858 #2C1F78
split-complementary
#781F3F #1F782C #1F6C78
monochromatic
#18060D #471225 #781F3F #A92C59 #CE4375

Accessibility & contrast

On white

10.16
#781F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#781F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F3F
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F3F#FFFFFF#000000##FFFFFF
##781F3F1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333640
Deuteranopia (green-blind)
#4B483D
Tritanopia (blue-blind)
#83102C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #781f3f;
/* rgb */ color: rgb(120, 31, 63);
/* oklch */ color: oklch(39.3% 0.125 3.1);
Tailwind
colors: {
  custom: {
    50: '#a36273',
    500: '#781f3f',
    950: '#000000',
  },
}
SCSS
$custom: #781f3f;
$custom-light: #a36273;
$custom-dark: #000000;
JSON
{
  "hex": "#781f3f",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 338.427,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39268,
    "c": 0.1251,
    "h": 3.1
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#781F3F
secondary
#47AB87
accent
#E2AA46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #781F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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