#762162#762162

#762162 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.140 H 338.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#762162
RGBrgb(118, 33, 98)
HSLhsl(314, 56%, 30%)
HSVhsv(314, 72%, 46%)
CMYKcmyk(0%, 72%, 16.9%, 53.7%)
CIE-LABlab(28.96, 43.97, -18.74)
CIE-LCHlch(28.96, 47.80, 336.92°)
OKLaboklab(40.6% 0.1302 -0.0507)
OKLCHoklch(40.6% 0.14 338.7)
XYZxyz(10.2199, 5.8220, 12.1384)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762162 #217635
analogous
#602176 #762162 #762137
triadic
#762162 #627621 #216276
tetradic
#762162 #766021 #217635 #213776
square
#762162 #766021 #217635 #213776
split-complementary
#762162 #377621 #217660
monochromatic
#180714 #46143A #762162 #A62E8A #CB46AC

Accessibility & contrast

On white

9.70
#762162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#762162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762162
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762162#FFFFFF#000000##FFFFFF
##7621621.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253C64
Deuteranopia (green-blind)
#404960
Tritanopia (blue-blind)
#7D243E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #762162;
/* rgb */ color: rgb(118, 33, 98);
/* oklch */ color: oklch(40.6% 0.140 338.7);
Tailwind
colors: {
  custom: {
    50: '#a0648f',
    500: '#762162',
    950: '#000000',
  },
}
SCSS
$custom: #762162;
$custom-light: #a0648f;
$custom-dark: #000000;
JSON
{
  "hex": "#762162",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 314.118,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.406,
    "c": 0.13976,
    "h": 338.7
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#762162
secondary
#4AA960
accent
#E06C48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #762162

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

Preview Lab → · Contrast checker → · Palette generator →

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