#682540#682540

#682540 is a dark, moderate pink. Relative luminance 0.046; OKLCH L 37.2% C 0.100 H 358.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#682540
RGBrgb(104, 37, 64)
HSLhsl(336, 48%, 28%)
HSVhsv(336, 64%, 41%)
CMYKcmyk(0%, 64.4%, 38.5%, 59.2%)
CIE-LABlab(25.67, 32.87, -1.45)
CIE-LCHlch(25.67, 32.90, 357.48°)
OKLaboklab(37.24% 0.1003 -0.0034)
OKLCHoklch(37.24% 0.1 358.1)
XYZxyz(7.2963, 4.6371, 5.3603)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682540 #25684D
analogous
#682561 #682540 #682B25
triadic
#682540 #406825 #254068
tetradic
#682540 #616825 #25684D #2B2568
square
#682540 #616825 #25684D #2B2568
split-complementary
#682540 #25682B #256168
monochromatic
#17080E #3B1524 #682540 #95355C #BE4978

Accessibility & contrast

On white

10.90
#682540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#682540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682540
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682540#FFFFFF#000000##FFFFFF
##6825401.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#42413E
Tritanopia (blue-blind)
#701F30
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #682540;
/* rgb */ color: rgb(104, 37, 64);
/* oklch */ color: oklch(37.2% 0.100 358.1);
Tailwind
colors: {
  custom: {
    50: '#966374',
    500: '#682540',
    950: '#000000',
  },
}
SCSS
$custom: #682540;
$custom-light: #966374;
$custom-dark: #000000;
JSON
{
  "hex": "#682540",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 335.821,
    "s": 47.518,
    "l": 27.647
  },
  "oklch": {
    "l": 0.37236,
    "c": 0.10037,
    "h": 358.1
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#682540
secondary
#4E9B7C
accent
#D7A151
background
#F9F6F7
surface
#F2EBED
border
#CCC6C8
text
#0E0508
muted
#7E7A7B

Preview Lab

Preview with #682540

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

Preview Lab → · Contrast checker → · Palette generator →

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