#420826#420826

#420826 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.7% C 0.092 H 354.4°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#420826
RGBrgb(66, 8, 38)
HSLhsl(329, 78%, 15%)
HSVhsv(329, 88%, 26%)
CMYKcmyk(0%, 87.9%, 42.4%, 74.1%)
CIE-LABlab(12.43, 29.71, -3.54)
CIE-LCHlch(12.43, 29.92, 353.20°)
OKLaboklab(25.72% 0.0913 -0.009)
OKLCHoklch(25.72% 0.092 354.4)
XYZxyz(2.6836, 1.4722, 1.9762)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420826 #084224
analogous
#410842 #420826 #420809
triadic
#420826 #264208 #082642
tetradic
#420826 #424108 #084224 #080942
square
#420826 #424108 #084224 #080942
split-complementary
#420826 #094208 #084241
monochromatic
#1B0310 #1B0310 #420826 #790F45 #AF1565

Accessibility & contrast

On white

16.22
#420826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#420826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420826
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420826#FFFFFF#000000##FFFFFF
##4208261.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141A27
Deuteranopia (green-blind)
#242425
Tritanopia (blue-blind)
#480316
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420826;
/* rgb */ color: rgb(66, 8, 38);
/* oklch */ color: oklch(25.7% 0.092 354.4);
Tailwind
colors: {
  custom: {
    50: '#7a4f60',
    500: '#420826',
    950: '#000000',
  },
}
SCSS
$custom: #420826;
$custom-light: #7a4f60;
$custom-dark: #000000;
JSON
{
  "hex": "#420826",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 38
  },
  "hsl": {
    "h": 328.966,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25721,
    "c": 0.09174,
    "h": 354.4
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#420826
secondary
#258051
accent
#F59133
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #420826

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

Preview Lab → · Contrast checker → · Palette generator →

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