#762161#762161

#762161 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.139 H 339.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#762161
RGBrgb(118, 33, 97)
HSLhsl(315, 56%, 30%)
HSVhsv(315, 72%, 46%)
CMYKcmyk(0%, 72%, 17.8%, 53.7%)
CIE-LABlab(28.91, 43.82, -18.17)
CIE-LCHlch(28.91, 47.43, 337.48°)
OKLaboklab(40.55% 0.1301 -0.0491)
OKLCHoklch(40.55% 0.139 339.3)
XYZxyz(10.1730, 5.8033, 11.8913)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762161 #217636
analogous
#612176 #762161 #762136
triadic
#762161 #617621 #216176
tetradic
#762161 #766121 #217636 #213676
square
#762161 #766121 #217636 #213676
split-complementary
#762161 #367621 #217661
monochromatic
#180714 #46143A #762161 #A62E88 #CB46AA

Accessibility & contrast

On white

9.72
#762161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762161
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762161#FFFFFF#000000##FFFFFF
##7621611.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263C63
Deuteranopia (green-blind)
#41495F
Tritanopia (blue-blind)
#7D243E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #762161;
/* rgb */ color: rgb(118, 33, 97);
/* oklch */ color: oklch(40.5% 0.139 339.3);
Tailwind
colors: {
  custom: {
    50: '#a0648e',
    500: '#762161',
    950: '#000000',
  },
}
SCSS
$custom: #762161;
$custom-light: #a0648e;
$custom-dark: #000000;
JSON
{
  "hex": "#762161",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 314.824,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40549,
    "c": 0.13902,
    "h": 339.3
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#762161
secondary
#4AA961
accent
#E06E48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#0F060C
muted
#7F7A7D

Preview Lab

Preview with #762161

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

Preview Lab → · Contrast checker → · Palette generator →

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