#662D4E#662D4E

#662D4E is a dark, moderate pink. Relative luminance 0.053; OKLCH L 38.7% C 0.092 H 346.5°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#662D4E
RGBrgb(102, 45, 78)
HSLhsl(325, 39%, 29%)
HSVhsv(325, 56%, 40%)
CMYKcmyk(0%, 55.9%, 23.5%, 60%)
CIE-LABlab(27.44, 29.97, -8.20)
CIE-LCHlch(27.44, 31.07, 344.70°)
OKLaboklab(38.65% 0.0898 -0.0216)
OKLCHoklch(38.65% 0.092 346.5)
XYZxyz(7.7932, 5.2523, 7.8096)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662D4E #2D6645
analogous
#622D66 #662D4E #662D32
triadic
#662D4E #4E662D #2D4E66
tetradic
#662D4E #66622D #2D6645 #2D3266
square
#662D4E #66622D #2D6645 #2D3266
split-complementary
#662D4E #32662D #2D6662
monochromatic
#150910 #3C1A2E #662D4E #90406E #B5588E

Accessibility & contrast

On white

10.24
#662D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#662D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662D4E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662D4E#FFFFFF#000000##FFFFFF
##662D4E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B4F
Deuteranopia (green-blind)
#42444D
Tritanopia (blue-blind)
#6C2C3A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #662d4e;
/* rgb */ color: rgb(102, 45, 78);
/* oklch */ color: oklch(38.7% 0.092 346.5);
Tailwind
colors: {
  custom: {
    50: '#94687f',
    500: '#662d4e',
    950: '#000000',
  },
}
SCSS
$custom: #662d4e;
$custom-light: #94687f;
$custom-dark: #000000;
JSON
{
  "hex": "#662d4e",
  "rgb": {
    "r": 102,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 325.263,
    "s": 38.776,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38654,
    "c": 0.09238,
    "h": 346.5
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#662D4E
secondary
#579872
accent
#CF8B59
background
#F9F6F7
surface
#F2EBEE
border
#CCC6C9
text
#0D060A
muted
#7E7A7C

Preview Lab

Preview with #662D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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