#662F4E#662F4E

#662F4E is a dark, moderate pink. Relative luminance 0.054; OKLCH L 39.0% C 0.089 H 347.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#662F4E
RGBrgb(102, 47, 78)
HSLhsl(326, 37%, 29%)
HSVhsv(326, 54%, 40%)
CMYKcmyk(0%, 53.9%, 23.5%, 60%)
CIE-LABlab(27.87, 28.85, -7.55)
CIE-LCHlch(27.87, 29.83, 345.33°)
OKLaboklab(38.97% 0.0865 -0.0198)
OKLCHoklch(38.97% 0.089 347.1)
XYZxyz(7.8714, 5.4085, 7.8356)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662F4E #2F6647
analogous
#632F66 #662F4E #662F33
triadic
#662F4E #4E662F #2F4E66
tetradic
#662F4E #66632F #2F6647 #2F3366
square
#662F4E #66632F #2F6647 #2F3366
split-complementary
#662F4E #33662F #2F6663
monochromatic
#150A10 #3C1C2E #662F4E #90426E #B45C8D

Accessibility & contrast

On white

10.09
#662F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#662F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662F4E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662F4E#FFFFFF#000000##FFFFFF
##662F4E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#43454D
Tritanopia (blue-blind)
#6C2E3B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #662f4e;
/* rgb */ color: rgb(102, 47, 78);
/* oklch */ color: oklch(39.0% 0.089 347.1);
Tailwind
colors: {
  custom: {
    50: '#936a7f',
    500: '#662f4e',
    950: '#000000',
  },
}
SCSS
$custom: #662f4e;
$custom-light: #936a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#662f4e",
  "rgb": {
    "r": 102,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 326.182,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38973,
    "c": 0.08871,
    "h": 347.1
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#662F4E
secondary
#599874
accent
#CD8D5B
background
#F9F6F7
surface
#F2EBEE
border
#CCC6C9
text
#0D060A
muted
#7E7A7C

Preview Lab

Preview with #662F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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