#662452#662452

#662452 is a dark, moderate pink. Relative luminance 0.047; OKLCH L 37.5% C 0.111 H 341.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#662452
RGBrgb(102, 36, 82)
HSLhsl(318, 48%, 27%)
HSVhsv(318, 65%, 40%)
CMYKcmyk(0%, 64.7%, 19.6%, 60%)
CIE-LABlab(25.85, 35.33, -13.27)
CIE-LCHlch(25.85, 37.74, 339.41°)
OKLaboklab(37.53% 0.1051 -0.0356)
OKLCHoklch(37.53% 0.111 341.3)
XYZxyz(7.6335, 4.6964, 8.4855)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662452 #246638
analogous
#592466 #662452 #662431
triadic
#662452 #526624 #245266
tetradic
#662452 #665924 #246638 #243166
square
#662452 #665924 #246638 #243166
split-complementary
#662452 #316624 #246659
monochromatic
#170812 #39142E #662452 #933476 #BE479A

Accessibility & contrast

On white

10.83
#662452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#662452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #662452
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662452#FFFFFF#000000##FFFFFF
##6624521.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283653
Deuteranopia (green-blind)
#3C4150
Tritanopia (blue-blind)
#6C2537
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #662452;
/* rgb */ color: rgb(102, 36, 82);
/* oklch */ color: oklch(37.5% 0.111 341.3);
Tailwind
colors: {
  custom: {
    50: '#946382',
    500: '#662452',
    950: '#000000',
  },
}
SCSS
$custom: #662452;
$custom-light: #946382;
$custom-dark: #000000;
JSON
{
  "hex": "#662452",
  "rgb": {
    "r": 102,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 318.182,
    "s": 47.826,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37532,
    "c": 0.11098,
    "h": 341.3
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#662452
secondary
#4C9964
accent
#D77950
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0D050A
muted
#7E7A7C

Preview Lab

Preview with #662452

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

Preview Lab → · Contrast checker → · Palette generator →

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