#662145#662145

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

Color values

HEX#662145
RGBrgb(102, 33, 69)
HSLhsl(329, 51%, 26%)
HSVhsv(329, 68%, 40%)
CMYKcmyk(0%, 67.6%, 32.4%, 60%)
CIE-LABlab(24.77, 34.81, -6.20)
CIE-LCHlch(24.77, 35.35, 349.90°)
OKLaboklab(36.56% 0.1059 -0.016)
OKLCHoklch(36.56% 0.107 351.4)
XYZxyz(7.0979, 4.3429, 6.0935)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662145 #216642
analogous
#652166 #662145 #662123
triadic
#662145 #456621 #214566
tetradic
#662145 #666521 #216642 #212366
square
#662145 #666521 #216642 #212366
split-complementary
#662145 #236621 #216665
monochromatic
#170710 #381226 #662145 #943064 #C14084

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##662145#FFFFFF#000000##FFFFFF
##6621451.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)
#2B3346
Deuteranopia (green-blind)
#3E3F43
Tritanopia (blue-blind)
#6E1D30
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #662145;
/* rgb */ color: rgb(102, 33, 69);
/* oklch */ color: oklch(36.6% 0.107 351.4);
Tailwind
colors: {
  custom: {
    50: '#956178',
    500: '#662145',
    950: '#000000',
  },
}
SCSS
$custom: #662145;
$custom-light: #956178;
$custom-dark: #000000;
JSON
{
  "hex": "#662145",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 328.696,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36558,
    "c": 0.10714,
    "h": 351.4
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#662145
secondary
#499A70
accent
#DB914D
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #662145

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

Preview Lab → · Contrast checker → · Palette generator →

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