#762040#762040

#762040 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.1% C 0.122 H 2.0°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#762040
RGBrgb(118, 32, 64)
HSLhsl(338, 57%, 29%)
HSVhsv(338, 73%, 46%)
CMYKcmyk(0%, 72.9%, 45.8%, 53.7%)
CIE-LABlab(27.45, 39.87, 1.46)
CIE-LCHlch(27.45, 39.90, 2.10°)
OKLaboklab(39.05% 0.1221 0.0042)
OKLCHoklch(39.05% 0.122 2)
XYZxyz(8.9138, 5.2559, 5.3946)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762040 #207656
analogous
#76206B #762040 #762B20
triadic
#762040 #407620 #204076
tetradic
#762040 #6B7620 #207656 #2B2076
square
#762040 #6B7620 #207656 #2B2076
split-complementary
#762040 #20762B #206B76
monochromatic
#18070D #461326 #762040 #A62D5A #CC4477

Accessibility & contrast

On white

10.24
#762040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#762040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762040
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762040#FFFFFF#000000##FFFFFF
##7620401.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#80142D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #762040;
/* rgb */ color: rgb(118, 32, 64);
/* oklch */ color: oklch(39.1% 0.122 2.0);
Tailwind
colors: {
  custom: {
    50: '#a26374',
    500: '#762040',
    950: '#000000',
  },
}
SCSS
$custom: #762040;
$custom-light: #a26374;
$custom-dark: #000000;
JSON
{
  "hex": "#762040",
  "rgb": {
    "r": 118,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 337.674,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3905,
    "c": 0.12215,
    "h": 2
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#762040
secondary
#48A985
accent
#E1A847
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #762040

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

Preview Lab → · Contrast checker → · Palette generator →

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