#662152#662152

#662152 is a dark, moderate pink. Relative luminance 0.045; OKLCH L 37.1% C 0.116 H 340.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#662152
RGBrgb(102, 33, 82)
HSLhsl(317, 51%, 26%)
HSVhsv(317, 68%, 40%)
CMYKcmyk(0%, 67.6%, 19.6%, 60%)
CIE-LABlab(25.33, 36.76, -14.08)
CIE-LCHlch(25.33, 39.36, 339.05°)
OKLaboklab(37.15% 0.1095 -0.0378)
OKLCHoklch(37.15% 0.116 340.9)
XYZxyz(7.5465, 4.5224, 8.4565)
Luminance0.0452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662152 #216635
analogous
#582166 #662152 #662130
triadic
#662152 #526621 #215266
tetradic
#662152 #665821 #216635 #213066
square
#662152 #665821 #216635 #213066
split-complementary
#662152 #306621 #216658
monochromatic
#170713 #38122D #662152 #943077 #C1409C

Accessibility & contrast

On white

11.03
#662152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#662152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662152
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662152#FFFFFF#000000##FFFFFF
##6621521.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263553
Deuteranopia (green-blind)
#3A4050
Tritanopia (blue-blind)
#6C2236
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #662152;
/* rgb */ color: rgb(102, 33, 82);
/* oklch */ color: oklch(37.1% 0.116 340.9);
Tailwind
colors: {
  custom: {
    50: '#946282',
    500: '#662152',
    950: '#000000',
  },
}
SCSS
$custom: #662152;
$custom-light: #946282;
$custom-dark: #000000;
JSON
{
  "hex": "#662152",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 317.391,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37147,
    "c": 0.11579,
    "h": 340.9
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

primary
#662152
secondary
#499A60
accent
#DB764D
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0D050A
muted
#7E7A7C

Preview Lab

Preview with #662152

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

Preview Lab → · Contrast checker → · Palette generator →

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