#662242#662242

#662242 is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.6% C 0.104 H 354.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#662242
RGBrgb(102, 34, 66)
HSLhsl(332, 50%, 27%)
HSVhsv(332, 67%, 40%)
CMYKcmyk(0%, 66.7%, 35.3%, 60%)
CIE-LABlab(24.84, 33.92, -4.08)
CIE-LCHlch(24.84, 34.16, 353.14°)
OKLaboklab(36.57% 0.1034 -0.0103)
OKLCHoklch(36.57% 0.104 354.3)
XYZxyz(7.0353, 4.3629, 5.6248)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662242 #226646
analogous
#662264 #662242 #662422
triadic
#662242 #426622 #224266
tetradic
#662242 #646622 #226646 #242266
square
#662242 #646622 #226646 #242266
split-complementary
#662242 #226624 #226466
monochromatic
#17080F #381324 #662242 #943160 #C0427E

Accessibility & contrast

On white

11.22
#662242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #662242
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662242#FFFFFF#000000##FFFFFF
##6622421.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3343
Deuteranopia (green-blind)
#3F4040
Tritanopia (blue-blind)
#6E1D2F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #662242;
/* rgb */ color: rgb(102, 34, 66);
/* oklch */ color: oklch(36.6% 0.104 354.3);
Tailwind
colors: {
  custom: {
    50: '#956276',
    500: '#662242',
    950: '#000000',
  },
}
SCSS
$custom: #662242;
$custom-light: #956276;
$custom-dark: #000000;
JSON
{
  "hex": "#662242",
  "rgb": {
    "r": 102,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 331.765,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36567,
    "c": 0.10396,
    "h": 354.3
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#662242
secondary
#4A9A74
accent
#DA984E
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0E0508
muted
#7E797B

Preview Lab

Preview with #662242

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

Preview Lab → · Contrast checker → · Palette generator →

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