#280522#280522

#280522 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 19.9% C 0.072 H 335.5°. Best body text is #FFFFFF at 18.50:1 contrast (WCAG AA passes).

Color values

HEX#280522
RGBrgb(40, 5, 34)
HSLhsl(310, 78%, 9%)
HSVhsv(310, 88%, 16%)
CMYKcmyk(0%, 87.5%, 15%, 84.3%)
CIE-LABlab(6.10, 21.75, -10.67)
CIE-LCHlch(6.10, 24.23, 333.87°)
OKLaboklab(19.86% 0.0658 -0.0299)
OKLCHoklch(19.86% 0.072 335.5)
XYZxyz(1.2181, 0.6753, 1.5792)
Luminance0.0067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280522 #05280B
analogous
#1D0528 #280522 #280511
triadic
#280522 #222805 #052228
tetradic
#280522 #281D05 #05280B #051128
square
#280522 #281D05 #05280B #051128
split-complementary
#280522 #112805 #05281D
monochromatic
#1B0317 #1B0317 #280522 #5E0C50 #95137E

Accessibility & contrast

On white

18.50
#280522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#280522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280522
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280522#FFFFFF#000000##FFFFFF
##2805221.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051023
Deuteranopia (green-blind)
#111521
Tritanopia (blue-blind)
#2B0712
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #280522;
/* rgb */ color: rgb(40, 5, 34);
/* oklch */ color: oklch(19.9% 0.072 335.5);
Tailwind
colors: {
  custom: {
    50: '#63485d',
    500: '#280522',
    950: '#000000',
  },
}
SCSS
$custom: #280522;
$custom-light: #63485d;
$custom-dark: #000000;
JSON
{
  "hex": "#280522",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 34
  },
  "hsl": {
    "h": 310.286,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19855,
    "c": 0.07227,
    "h": 335.5
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#280522
secondary
#1F6A2C
accent
#F45534
background
#F6F4F5
surface
#EBE6E9
border
#C6C2C5
text
#050104
muted
#7A7779

Preview Lab

Preview with #280522

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

Preview Lab → · Contrast checker → · Palette generator →

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