#682040#682040

#682040 is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.6% C 0.108 H 356.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#682040
RGBrgb(104, 32, 64)
HSLhsl(333, 53%, 27%)
HSVhsv(333, 69%, 41%)
CMYKcmyk(0%, 69.2%, 38.5%, 59.2%)
CIE-LABlab(24.79, 35.28, -2.76)
CIE-LCHlch(24.79, 35.38, 355.53°)
OKLaboklab(36.58% 0.1079 -0.0068)
OKLCHoklch(36.58% 0.108 356.4)
XYZxyz(7.1513, 4.3471, 5.3120)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682040 #206848
analogous
#682064 #682040 #682420
triadic
#682040 #406820 #204068
tetradic
#682040 #646820 #206848 #242068
square
#682040 #646820 #206848 #242068
split-complementary
#682040 #206824 #206468
monochromatic
#17070E #391223 #682040 #972E5D #C43F7A

Accessibility & contrast

On white

11.23
#682040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#682040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682040
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682040#FFFFFF#000000##FFFFFF
##6820401.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3241
Deuteranopia (green-blind)
#40403E
Tritanopia (blue-blind)
#701A2D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #682040;
/* rgb */ color: rgb(104, 32, 64);
/* oklch */ color: oklch(36.6% 0.108 356.4);
Tailwind
colors: {
  custom: {
    50: '#966174',
    500: '#682040',
    950: '#000000',
  },
}
SCSS
$custom: #682040;
$custom-light: #966174;
$custom-dark: #000000;
JSON
{
  "hex": "#682040",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 333.333,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36578,
    "c": 0.10808,
    "h": 356.4
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#682040
secondary
#489C77
accent
#DC9C4B
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0E0508
muted
#7E797B

Preview Lab

Preview with #682040

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

Preview Lab → · Contrast checker → · Palette generator →

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