#822257#822257

#822257 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.2% C 0.141 H 350.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#822257
RGBrgb(130, 34, 87)
HSLhsl(327, 59%, 32%)
HSVhsv(327, 74%, 51%)
CMYKcmyk(0%, 73.8%, 33.1%, 49%)
CIE-LABlab(30.83, 45.44, -8.52)
CIE-LCHlch(30.83, 46.23, 349.38°)
OKLaboklab(42.23% 0.1389 -0.0221)
OKLCHoklch(42.23% 0.141 350.9)
XYZxyz(11.4989, 6.5793, 9.6794)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822257 #22824D
analogous
#7D2282 #822257 #822227
triadic
#822257 #578222 #225782
tetradic
#822257 #827D22 #22824D #222782
square
#822257 #827D22 #22824D #222782
split-complementary
#822257 #278222 #22827D
monochromatic
#210916 #511537 #822257 #B32F77 #D14E96

Accessibility & contrast

On white

9.07
#822257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#822257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822257
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822257#FFFFFF#000000##FFFFFF
##8222571.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E58
Deuteranopia (green-blind)
#4D4F55
Tritanopia (blue-blind)
#8C1C39
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #822257;
/* rgb */ color: rgb(130, 34, 87);
/* oklch */ color: oklch(42.2% 0.141 350.9);
Tailwind
colors: {
  custom: {
    50: '#aa6686',
    500: '#822257',
    950: '#000000',
  },
}
SCSS
$custom: #822257;
$custom-light: #aa6686;
$custom-dark: #000000;
JSON
{
  "hex": "#822257",
  "rgb": {
    "r": 130,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 326.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42226,
    "c": 0.1406,
    "h": 350.9
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#822257
secondary
#4CB47A
accent
#E28C46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #822257

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

Preview Lab → · Contrast checker → · Palette generator →

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