#662140#662140

#662140 is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.4% C 0.105 H 355.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#662140
RGBrgb(102, 33, 64)
HSLhsl(333, 51%, 26%)
HSVhsv(333, 68%, 40%)
CMYKcmyk(0%, 67.6%, 37.3%, 60%)
CIE-LABlab(24.59, 34.13, -3.09)
CIE-LCHlch(24.59, 34.27, 354.82°)
OKLaboklab(36.36% 0.1043 -0.0077)
OKLCHoklch(36.36% 0.105 355.8)
XYZxyz(6.9492, 4.2834, 5.3103)
Luminance0.0428 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662140 #216647
analogous
#662163 #662140 #662521
triadic
#662140 #406621 #214066
tetradic
#662140 #636621 #216647 #252166
square
#662140 #636621 #216647 #252166
split-complementary
#662140 #216625 #216366
monochromatic
#17070F #381223 #662140 #94305D #C1407A

Accessibility & contrast

On white

11.31
#662140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#662140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662140
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662140#FFFFFF#000000##FFFFFF
##6621401.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3241
Deuteranopia (green-blind)
#3F3F3E
Tritanopia (blue-blind)
#6E1C2D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #662140;
/* rgb */ color: rgb(102, 33, 64);
/* oklch */ color: oklch(36.4% 0.105 355.8);
Tailwind
colors: {
  custom: {
    50: '#956174',
    500: '#662140',
    950: '#000000',
  },
}
SCSS
$custom: #662140;
$custom-light: #956174;
$custom-dark: #000000;
JSON
{
  "hex": "#662140",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 64
  },
  "hsl": {
    "h": 333.043,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36358,
    "c": 0.10454,
    "h": 355.8
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#662140
secondary
#499A76
accent
#DB9B4D
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0E0508
muted
#7E797B

Preview Lab

Preview with #662140

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

Preview Lab → · Contrast checker → · Palette generator →

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