#420827#420827

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

Color values

HEX#420827
RGBrgb(66, 8, 39)
HSLhsl(328, 78%, 15%)
HSVhsv(328, 88%, 26%)
CMYKcmyk(0%, 87.9%, 40.9%, 74.1%)
CIE-LABlab(12.47, 29.84, -4.22)
CIE-LCHlch(12.47, 30.13, 351.94°)
OKLaboklab(25.77% 0.0916 -0.0108)
OKLCHoklch(25.77% 0.092 353.3)
XYZxyz(2.7000, 1.4787, 2.0623)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420827 #084223
analogous
#400842 #420827 #42080A
triadic
#420827 #274208 #082742
tetradic
#420827 #424008 #084223 #080A42
square
#420827 #424008 #084223 #080A42
split-complementary
#420827 #0A4208 #084240
monochromatic
#1B0310 #1B0310 #420827 #790F47 #AF1568

Accessibility & contrast

On white

16.21
#420827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#420827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420827
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420827#FFFFFF#000000##FFFFFF
##4208271.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A28
Deuteranopia (green-blind)
#242426
Tritanopia (blue-blind)
#480316
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420827;
/* rgb */ color: rgb(66, 8, 39);
/* oklch */ color: oklch(25.8% 0.092 353.3);
Tailwind
colors: {
  custom: {
    50: '#7a4f61',
    500: '#420827',
    950: '#000000',
  },
}
SCSS
$custom: #420827;
$custom-light: #7a4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#420827",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 39
  },
  "hsl": {
    "h": 327.931,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25765,
    "c": 0.09227,
    "h": 353.3
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#420827
secondary
#258050
accent
#F58D33
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #420827

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

Preview Lab → · Contrast checker → · Palette generator →

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