#782255#782255

#782255 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.131 H 348.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#782255
RGBrgb(120, 34, 85)
HSLhsl(324, 56%, 30%)
HSVhsv(324, 72%, 47%)
CMYKcmyk(0%, 71.7%, 29.2%, 52.9%)
CIE-LABlab(28.89, 42.23, -10.33)
CIE-LCHlch(28.89, 43.48, 346.26°)
OKLaboklab(40.43% 0.1283 -0.0271)
OKLCHoklch(40.43% 0.131 348.1)
XYZxyz(9.9579, 5.7941, 9.1865)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782255 #227845
analogous
#702278 #782255 #78222A
triadic
#782255 #557822 #225578
tetradic
#782255 #787022 #227845 #222A78
square
#782255 #787022 #227845 #222A78
split-complementary
#782255 #2A7822 #227870
monochromatic
#190711 #481433 #782255 #A83077 #CB4996

Accessibility & contrast

On white

9.73
#782255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#782255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782255
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782255#FFFFFF#000000##FFFFFF
##7822551.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3B56
Deuteranopia (green-blind)
#464A53
Tritanopia (blue-blind)
#811F38
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #782255;
/* rgb */ color: rgb(120, 34, 85);
/* oklch */ color: oklch(40.4% 0.131 348.1);
Tailwind
colors: {
  custom: {
    50: '#a26585',
    500: '#782255',
    950: '#000000',
  },
}
SCSS
$custom: #782255;
$custom-light: #a26585;
$custom-dark: #000000;
JSON
{
  "hex": "#782255",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 324.419,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40426,
    "c": 0.13116,
    "h": 348.1
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#782255
secondary
#4BAB72
accent
#DF8649
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#0F060B
muted
#7F7A7C

Preview Lab

Preview with #782255

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

Preview Lab → · Contrast checker → · Palette generator →

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