#821767#821767

#821767 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 42.0% C 0.162 H 340.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#821767
RGBrgb(130, 23, 103)
HSLhsl(315, 70%, 30%)
HSVhsv(315, 82%, 51%)
CMYKcmyk(0%, 82.3%, 20.8%, 49%)
CIE-LABlab(30.25, 51.20, -19.79)
CIE-LCHlch(30.25, 54.89, 338.86°)
OKLaboklab(42.04% 0.1535 -0.0534)
OKLCHoklch(42.04% 0.162 340.8)
XYZxyz(11.9609, 6.3391, 13.4230)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821767 #178232
analogous
#671782 #821767 #821732
triadic
#821767 #678217 #176782
tetradic
#821767 #826717 #178232 #173282
square
#821767 #826717 #178232 #173282
split-complementary
#821767 #328217 #178267
monochromatic
#1A0515 #4E0E3E #821767 #B62090 #DC38B2

Accessibility & contrast

On white

9.26
#821767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#821767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821767
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821767#FFFFFF#000000##FFFFFF
##8217671.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C69
Deuteranopia (green-blind)
#444D65
Tritanopia (blue-blind)
#8A1A3E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #821767;
/* rgb */ color: rgb(130, 23, 103);
/* oklch */ color: oklch(42.0% 0.162 340.8);
Tailwind
colors: {
  custom: {
    50: '#aa6292',
    500: '#821767',
    950: '#000000',
  },
}
SCSS
$custom: #821767;
$custom-light: #aa6292;
$custom-dark: #000000;
JSON
{
  "hex": "#821767",
  "rgb": {
    "r": 130,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 315.14,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.42036,
    "c": 0.16248,
    "h": 340.8
  },
  "luminance": 0.06338
}

Semantic roles & 50–950 ramp

primary
#821767
secondary
#3EB65D
accent
#ED683B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #821767

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

Preview Lab → · Contrast checker → · Palette generator →

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