#662A4E#662A4E

#662A4E is a dark, moderate pink. Relative luminance 0.050; OKLCH L 38.2% C 0.098 H 345.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#662A4E
RGBrgb(102, 42, 78)
HSLhsl(324, 42%, 28%)
HSVhsv(324, 59%, 40%)
CMYKcmyk(0%, 58.8%, 23.5%, 60%)
CIE-LABlab(26.82, 31.60, -9.13)
CIE-LCHlch(26.82, 32.89, 343.88°)
OKLaboklab(38.2% 0.0948 -0.0241)
OKLCHoklch(38.2% 0.098 345.7)
XYZxyz(7.6828, 5.0314, 7.7728)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662A4E #2A6642
analogous
#602A66 #662A4E #662A30
triadic
#662A4E #4E662A #2A4E66
tetradic
#662A4E #66602A #2A6642 #2A3066
square
#662A4E #66602A #2A6642 #2A3066
split-complementary
#662A4E #30662A #2A6660
monochromatic
#160911 #3B182D #662A4E #913C6F #B8528F

Accessibility & contrast

On white

10.47
#662A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#662A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662A4E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662A4E#FFFFFF#000000##FFFFFF
##662A4E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30394F
Deuteranopia (green-blind)
#40434C
Tritanopia (blue-blind)
#6C2938
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #662a4e;
/* rgb */ color: rgb(102, 42, 78);
/* oklch */ color: oklch(38.2% 0.098 345.7);
Tailwind
colors: {
  custom: {
    50: '#94677f',
    500: '#662a4e',
    950: '#000000',
  },
}
SCSS
$custom: #662a4e;
$custom-light: #94677f;
$custom-dark: #000000;
JSON
{
  "hex": "#662a4e",
  "rgb": {
    "r": 102,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 324,
    "s": 41.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38195,
    "c": 0.09777,
    "h": 345.7
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#662A4E
secondary
#54986F
accent
#D18856
background
#F9F6F7
surface
#F2EBEE
border
#CCC6C9
text
#0D060A
muted
#7E7A7C

Preview Lab

Preview with #662A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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