#662B4E#662B4E

#662B4E is a dark, moderate pink. Relative luminance 0.051; OKLCH L 38.3% C 0.096 H 346.0°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#662B4E
RGBrgb(102, 43, 78)
HSLhsl(324, 41%, 28%)
HSVhsv(324, 58%, 40%)
CMYKcmyk(0%, 57.8%, 23.5%, 60%)
CIE-LABlab(27.03, 31.06, -8.82)
CIE-LCHlch(27.03, 32.29, 344.14°)
OKLaboklab(38.35% 0.0931 -0.0233)
OKLCHoklch(38.35% 0.096 346)
XYZxyz(7.7187, 5.1033, 7.7848)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662B4E #2B6643
analogous
#602B66 #662B4E #662B30
triadic
#662B4E #4E662B #2B4E66
tetradic
#662B4E #66602B #2B6643 #2B3066
square
#662B4E #66602B #2B6643 #2B3066
split-complementary
#662B4E #30662B #2B6660
monochromatic
#160910 #3B192D #662B4E #913D6F #B7548F

Accessibility & contrast

On white

10.39
#662B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#662B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662B4E
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662B4E#FFFFFF#000000##FFFFFF
##662B4E1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303A4F
Deuteranopia (green-blind)
#41444D
Tritanopia (blue-blind)
#6C2A39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #662b4e;
/* rgb */ color: rgb(102, 43, 78);
/* oklch */ color: oklch(38.3% 0.096 346.0);
Tailwind
colors: {
  custom: {
    50: '#94677f',
    500: '#662b4e',
    950: '#000000',
  },
}
SCSS
$custom: #662b4e;
$custom-light: #94677f;
$custom-dark: #000000;
JSON
{
  "hex": "#662b4e",
  "rgb": {
    "r": 102,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 324.407,
    "s": 40.69,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38345,
    "c": 0.096,
    "h": 346
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#662B4E
secondary
#559870
accent
#D18957
background
#F9F6F7
surface
#F2EBEE
border
#CCC6C9
text
#0D060A
muted
#7E7A7C

Preview Lab

Preview with #662B4E

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

Preview Lab → · Contrast checker → · Palette generator →

#662B4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva