#781F45#781F45

#781F45 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.127 H 358.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#781F45
RGBrgb(120, 31, 69)
HSLhsl(334, 59%, 30%)
HSVhsv(334, 74%, 47%)
CMYKcmyk(0%, 74.2%, 42.5%, 52.9%)
CIE-LABlab(27.86, 41.45, -1.25)
CIE-LCHlch(27.86, 41.47, 358.27°)
OKLaboklab(39.47% 0.1271 -0.0028)
OKLCHoklch(39.47% 0.127 358.7)
XYZxyz(9.3105, 5.4039, 6.1818)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781F45 #1F7852
analogous
#781F72 #781F45 #78261F
triadic
#781F45 #45781F #1F4578
tetradic
#781F45 #72781F #1F7852 #261F78
square
#781F45 #72781F #1F7852 #261F78
split-complementary
#781F45 #1F7826 #1F7278
monochromatic
#18060E #471229 #781F45 #A92C61 #CE437F

Accessibility & contrast

On white

10.09
#781F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#781F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781F45
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781F45#FFFFFF#000000##FFFFFF
##781F451.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313746
Deuteranopia (green-blind)
#494843
Tritanopia (blue-blind)
#82142F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781f45;
/* rgb */ color: rgb(120, 31, 69);
/* oklch */ color: oklch(39.5% 0.127 358.7);
Tailwind
colors: {
  custom: {
    50: '#a36378',
    500: '#781f45',
    950: '#000000',
  },
}
SCSS
$custom: #781f45;
$custom-light: #a36378;
$custom-dark: #000000;
JSON
{
  "hex": "#781f45",
  "rgb": {
    "r": 120,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 334.382,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39473,
    "c": 0.12716,
    "h": 358.7
  },
  "luminance": 0.05403
}

Semantic roles & 50–950 ramp

primary
#781F45
secondary
#47AB81
accent
#E29F46
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #781F45

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

Preview Lab → · Contrast checker → · Palette generator →

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