#662240#662240

#662240 is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.5% C 0.103 H 356.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#662240
RGBrgb(102, 34, 64)
HSLhsl(334, 50%, 27%)
HSVhsv(334, 67%, 40%)
CMYKcmyk(0%, 66.7%, 37.3%, 60%)
CIE-LABlab(24.76, 33.65, -2.83)
CIE-LCHlch(24.76, 33.77, 355.19°)
OKLaboklab(36.49% 0.1027 -0.007)
OKLCHoklch(36.49% 0.103 356.1)
XYZxyz(6.9773, 4.3398, 5.3197)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662240 #226648
analogous
#662262 #662240 #662622
triadic
#662240 #406622 #224066
tetradic
#662240 #626622 #226648 #262266
square
#662240 #626622 #226648 #262266
split-complementary
#662240 #226626 #226266
monochromatic
#17080E #381323 #662240 #94315D #C0427A

Accessibility & contrast

On white

11.24
#662240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #662240
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662240#FFFFFF#000000##FFFFFF
##6622401.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3341
Deuteranopia (green-blind)
#403F3E
Tritanopia (blue-blind)
#6E1D2E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #662240;
/* rgb */ color: rgb(102, 34, 64);
/* oklch */ color: oklch(36.5% 0.103 356.1);
Tailwind
colors: {
  custom: {
    50: '#956274',
    500: '#662240',
    950: '#000000',
  },
}
SCSS
$custom: #662240;
$custom-light: #956274;
$custom-dark: #000000;
JSON
{
  "hex": "#662240",
  "rgb": {
    "r": 102,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 333.529,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3649,
    "c": 0.10298,
    "h": 356.1
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#662240
secondary
#4A9A77
accent
#DA9C4E
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0E0508
muted
#7E797B

Preview Lab

Preview with #662240

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

Preview Lab → · Contrast checker → · Palette generator →

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