#762540#762540

#762540 is a dark, moderate pink. Relative luminance 0.055; OKLCH L 39.6% C 0.115 H 3.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#762540
RGBrgb(118, 37, 64)
HSLhsl(340, 52%, 30%)
HSVhsv(340, 69%, 46%)
CMYKcmyk(0%, 68.6%, 45.8%, 53.7%)
CIE-LABlab(28.24, 37.72, 2.60)
CIE-LCHlch(28.24, 37.81, 3.94°)
OKLaboklab(39.63% 0.1152 0.0071)
OKLCHoklch(39.63% 0.115 3.5)
XYZxyz(9.0589, 5.5460, 5.4429)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762540 #25765B
analogous
#762568 #762540 #763225
triadic
#762540 #407625 #254076
tetradic
#762540 #687625 #25765B #322576
square
#762540 #687625 #25765B #322576
split-complementary
#762540 #257632 #256876
monochromatic
#19080D #471627 #762540 #A53459 #C74E76

Accessibility & contrast

On white

9.96
#762540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#762540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762540
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762540#FFFFFF#000000##FFFFFF
##7625401.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#801A30
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #762540;
/* rgb */ color: rgb(118, 37, 64);
/* oklch */ color: oklch(39.6% 0.115 3.5);
Tailwind
colors: {
  custom: {
    50: '#a16574',
    500: '#762540',
    950: '#000000',
  },
}
SCSS
$custom: #762540;
$custom-light: #a16574;
$custom-dark: #000000;
JSON
{
  "hex": "#762540",
  "rgb": {
    "r": 118,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 340,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39631,
    "c": 0.11544,
    "h": 3.5
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#762540
secondary
#4EA98A
accent
#DCAC4C
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#0F0608
muted
#7F7A7B

Preview Lab

Preview with #762540

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

Preview Lab → · Contrast checker → · Palette generator →

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