#762166#762166

#762166 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.143 H 336.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#762166
RGBrgb(118, 33, 102)
HSLhsl(311, 56%, 30%)
HSVhsv(311, 72%, 46%)
CMYKcmyk(0%, 72%, 13.6%, 53.7%)
CIE-LABlab(29.16, 44.61, -21.02)
CIE-LCHlch(29.16, 49.31, 334.77°)
OKLaboklab(40.81% 0.1308 -0.0572)
OKLCHoklch(40.81% 0.143 336.4)
XYZxyz(10.4135, 5.8995, 13.1581)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762166 #217631
analogous
#5C2176 #762166 #76213C
triadic
#762166 #667621 #216676
tetradic
#762166 #765C21 #217631 #213C76
square
#762166 #765C21 #217631 #213C76
split-complementary
#762166 #3C7621 #21765C
monochromatic
#180715 #46143D #762166 #A62E8F #CB46B2

Accessibility & contrast

On white

9.63
#762166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#762166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762166
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762166#FFFFFF#000000##FFFFFF
##7621661.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C68
Deuteranopia (green-blind)
#3F4964
Tritanopia (blue-blind)
#7C2640
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #762166;
/* rgb */ color: rgb(118, 33, 102);
/* oklch */ color: oklch(40.8% 0.143 336.4);
Tailwind
colors: {
  custom: {
    50: '#a06492',
    500: '#762166',
    950: '#000000',
  },
}
SCSS
$custom: #762166;
$custom-light: #a06492;
$custom-dark: #000000;
JSON
{
  "hex": "#762166",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 311.294,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40809,
    "c": 0.14277,
    "h": 336.4
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#762166
secondary
#4AA95C
accent
#E06548
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060D
muted
#7F7A7D

Preview Lab

Preview with #762166

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

Preview Lab → · Contrast checker → · Palette generator →

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