#662148#662148

#662148 is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.7% C 0.109 H 348.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#662148
RGBrgb(102, 33, 72)
HSLhsl(326, 51%, 26%)
HSVhsv(326, 68%, 40%)
CMYKcmyk(0%, 67.6%, 29.4%, 60%)
CIE-LABlab(24.89, 35.23, -8.04)
CIE-LCHlch(24.89, 36.14, 347.14°)
OKLaboklab(36.69% 0.1069 -0.0211)
OKLCHoklch(36.69% 0.109 348.9)
XYZxyz(7.1934, 4.3811, 6.5964)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662148 #21663F
analogous
#622166 #662148 #662126
triadic
#662148 #486621 #214866
tetradic
#662148 #666221 #21663F #212666
square
#662148 #666221 #21663F #212666
split-complementary
#662148 #266621 #216662
monochromatic
#170710 #381227 #662148 #943069 #C14089

Accessibility & contrast

On white

11.19
#662148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#662148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662148
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662148#FFFFFF#000000##FFFFFF
##6621481.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3349
Deuteranopia (green-blind)
#3D4046
Tritanopia (blue-blind)
#6D1E31
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #662148;
/* rgb */ color: rgb(102, 33, 72);
/* oklch */ color: oklch(36.7% 0.109 348.9);
Tailwind
colors: {
  custom: {
    50: '#94617b',
    500: '#662148',
    950: '#000000',
  },
}
SCSS
$custom: #662148;
$custom-light: #94617b;
$custom-dark: #000000;
JSON
{
  "hex": "#662148",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 326.087,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36685,
    "c": 0.10892,
    "h": 348.9
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#662148
secondary
#499A6C
accent
#DB8B4D
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #662148

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

Preview Lab → · Contrast checker → · Palette generator →

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