#28050F#28050F

#28050F is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 18.9% C 0.060 H 6.7°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#28050F
RGBrgb(40, 5, 15)
HSLhsl(343, 78%, 9%)
HSVhsv(343, 88%, 16%)
CMYKcmyk(0%, 87.5%, 62.5%, 84.3%)
CIE-LABlab(5.37, 18.03, 1.92)
CIE-LCHlch(5.37, 18.13, 6.07°)
OKLaboklab(18.89% 0.0597 0.007)
OKLCHoklch(18.89% 0.06 6.7)
XYZxyz(1.0157, 0.5943, 0.5131)
Luminance0.0059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28050F #05281E
analogous
#280521 #28050F #280D05
triadic
#28050F #0F2805 #050F28
tetradic
#28050F #212805 #05281E #0D0528
square
#28050F #212805 #05281E #0D0528
split-complementary
#28050F #05280D #052128
monochromatic
#1B030A #1B030A #28050F #5E0C23 #951338

Accessibility & contrast

On white

18.77
#28050F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#28050F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28050F
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28050F#FFFFFF#000000##FFFFFF
##28050F1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0D0F
Deuteranopia (green-blind)
#16140E
Tritanopia (blue-blind)
#2C0109
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #28050f;
/* rgb */ color: rgb(40, 5, 15);
/* oklch */ color: oklch(18.9% 0.060 6.7);
Tailwind
colors: {
  custom: {
    50: '#64484e',
    500: '#28050f',
    950: '#000000',
  },
}
SCSS
$custom: #28050f;
$custom-light: #64484e;
$custom-dark: #000000;
JSON
{
  "hex": "#28050f",
  "rgb": {
    "r": 40,
    "g": 5,
    "b": 15
  },
  "hsl": {
    "h": 342.857,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.18889,
    "c": 0.06006,
    "h": 6.7
  },
  "luminance": 0.00594
}

Semantic roles & 50–950 ramp

primary
#28050F
secondary
#1F6A54
accent
#F4BD34
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #28050F

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

Preview Lab → · Contrast checker → · Palette generator →

#28050F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva