#662247#662247

#662247 is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.8% C 0.107 H 349.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#662247
RGBrgb(102, 34, 71)
HSLhsl(327, 50%, 27%)
HSVhsv(327, 67%, 40%)
CMYKcmyk(0%, 66.7%, 30.4%, 60%)
CIE-LABlab(25.03, 34.61, -7.17)
CIE-LCHlch(25.03, 35.34, 348.30°)
OKLaboklab(36.77% 0.1051 -0.0187)
OKLCHoklch(36.77% 0.107 349.9)
XYZxyz(7.1892, 4.4245, 6.4354)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#662247 #226641
analogous
#632266 #662247 #662225
triadic
#662247 #476622 #224766
tetradic
#662247 #666322 #226641 #222566
square
#662247 #666322 #226641 #222566
split-complementary
#662247 #256622 #226663
monochromatic
#170810 #381327 #662247 #943167 #C04287

Accessibility & contrast

On white

11.14
#662247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #662247
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##662247#FFFFFF#000000##FFFFFF
##6622471.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3448
Deuteranopia (green-blind)
#3E4045
Tritanopia (blue-blind)
#6D1F31
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #662247;
/* rgb */ color: rgb(102, 34, 71);
/* oklch */ color: oklch(36.8% 0.107 349.9);
Tailwind
colors: {
  custom: {
    50: '#94627a',
    500: '#662247',
    950: '#000000',
  },
}
SCSS
$custom: #662247;
$custom-light: #94627a;
$custom-dark: #000000;
JSON
{
  "hex": "#662247",
  "rgb": {
    "r": 102,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 327.353,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36771,
    "c": 0.10673,
    "h": 349.9
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#662247
secondary
#4A9A6E
accent
#DA8E4E
background
#F9F5F7
surface
#F2EAED
border
#CCC6C8
text
#0E0509
muted
#7E797B

Preview Lab

Preview with #662247

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

Preview Lab → · Contrast checker → · Palette generator →

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