#771266#771266

#771266 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.7% C 0.160 H 336.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#771266
RGBrgb(119, 18, 102)
HSLhsl(310, 74%, 27%)
HSVhsv(310, 85%, 47%)
CMYKcmyk(0%, 84.9%, 14.3%, 53.3%)
CIE-LABlab(27.61, 49.79, -23.43)
CIE-LCHlch(27.61, 55.03, 334.80°)
OKLaboklab(39.73% 0.1466 -0.0639)
OKLCHoklch(39.73% 0.16 336.4)
XYZxyz(10.2225, 5.3148, 13.0553)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771266 #127723
analogous
#561277 #771266 #771234
triadic
#771266 #667712 #126677
tetradic
#771266 #775612 #127723 #123477
square
#771266 #775612 #127723 #123477
split-complementary
#771266 #347712 #127756
monochromatic
#1B0417 #420A38 #771266 #AC1A94 #DE25BF

Accessibility & contrast

On white

10.18
#771266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#771266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771266
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771266#FFFFFF#000000##FFFFFF
##7712661.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143868
Deuteranopia (green-blind)
#3A4664
Tritanopia (blue-blind)
#7E1B3C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #771266;
/* rgb */ color: rgb(119, 18, 102);
/* oklch */ color: oklch(39.7% 0.160 336.4);
Tailwind
colors: {
  custom: {
    50: '#a25f92',
    500: '#771266',
    950: '#000000',
  },
}
SCSS
$custom: #771266;
$custom-light: #a25f92;
$custom-dark: #000000;
JSON
{
  "hex": "#771266",
  "rgb": {
    "r": 119,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 310.099,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.15992,
    "h": 336.4
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#771266
secondary
#37AD4B
accent
#F05737
background
#FAF5F9
surface
#F4EAF1
border
#CEC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #771266

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

Preview Lab → · Contrast checker → · Palette generator →

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