#420526#420526

#420526 is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.4% C 0.096 H 353.6°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#420526
RGBrgb(66, 5, 38)
HSLhsl(328, 86%, 14%)
HSVhsv(328, 92%, 26%)
CMYKcmyk(0%, 92.4%, 42.4%, 74.1%)
CIE-LABlab(12.00, 30.92, -4.18)
CIE-LCHlch(12.00, 31.21, 352.30°)
OKLaboklab(25.41% 0.0952 -0.0107)
OKLCHoklch(25.41% 0.096 353.6)
XYZxyz(2.6511, 1.4071, 1.9653)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420526 #054221
analogous
#400542 #420526 #420508
triadic
#420526 #264205 #052642
tetradic
#420526 #424005 #054221 #050842
square
#420526 #424005 #054221 #050842
split-complementary
#420526 #084205 #054240
monochromatic
#1C0210 #1C0210 #420526 #7B0947 #B40E68

Accessibility & contrast

On white

16.39
#420526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#420526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420526
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420526#FFFFFF#000000##FFFFFF
##4205261.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121827
Deuteranopia (green-blind)
#232325
Tritanopia (blue-blind)
#480014
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #420526;
/* rgb */ color: rgb(66, 5, 38);
/* oklch */ color: oklch(25.4% 0.096 353.6);
Tailwind
colors: {
  custom: {
    50: '#7a4d60',
    500: '#420526',
    950: '#000000',
  },
}
SCSS
$custom: #420526;
$custom-light: #7a4d60;
$custom-dark: #000000;
JSON
{
  "hex": "#420526",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 38
  },
  "hsl": {
    "h": 327.541,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.2541,
    "c": 0.09578,
    "h": 353.6
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#420526
secondary
#20824D
accent
#FC8B2C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0204
muted
#7C7879

Preview Lab

Preview with #420526

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

Preview Lab → · Contrast checker → · Palette generator →

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