#771B42#771B42

#771B42 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.130 H 359.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#771B42
RGBrgb(119, 27, 66)
HSLhsl(335, 63%, 29%)
HSVhsv(335, 77%, 47%)
CMYKcmyk(0%, 77.3%, 44.5%, 53.3%)
CIE-LABlab(27.02, 42.33, -0.49)
CIE-LCHlch(27.02, 42.34, 359.33°)
OKLaboklab(38.79% 0.1299 -0.0008)
OKLCHoklch(38.79% 0.13 359.7)
XYZxyz(8.9837, 5.1003, 5.6646)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771B42 #1B7750
analogous
#771B70 #771B42 #77221B
triadic
#771B42 #42771B #1B4277
tetradic
#771B42 #70771B #1B7750 #221B77
square
#771B42 #70771B #1B7750 #221B77
split-complementary
#771B42 #1B7722 #1B7077
monochromatic
#19060E #451026 #771B42 #A9265E #D23A7B

Accessibility & contrast

On white

10.40
#771B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#771B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771B42
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771B42#FFFFFF#000000##FFFFFF
##771B421.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#484640
Tritanopia (blue-blind)
#810C2C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #771b42;
/* rgb */ color: rgb(119, 27, 66);
/* oklch */ color: oklch(38.8% 0.130 359.7);
Tailwind
colors: {
  custom: {
    50: '#a36176',
    500: '#771b42',
    950: '#000000',
  },
}
SCSS
$custom: #771b42;
$custom-light: #a36176;
$custom-dark: #000000;
JSON
{
  "hex": "#771b42",
  "rgb": {
    "r": 119,
    "g": 27,
    "b": 66
  },
  "hsl": {
    "h": 334.565,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38788,
    "c": 0.12994,
    "h": 359.7
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#771B42
secondary
#42AB7F
accent
#E6A042
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #771B42

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

Preview Lab → · Contrast checker → · Palette generator →

#771B42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva