#420726#420726

#420726 is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.6% C 0.093 H 354.1°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#420726
RGBrgb(66, 7, 38)
HSLhsl(328, 81%, 14%)
HSVhsv(328, 89%, 26%)
CMYKcmyk(0%, 89.4%, 42.4%, 74.1%)
CIE-LABlab(12.29, 30.11, -3.75)
CIE-LCHlch(12.29, 30.34, 352.90°)
OKLaboklab(25.62% 0.0926 -0.0095)
OKLCHoklch(25.62% 0.093 354.1)
XYZxyz(2.6728, 1.4505, 1.9726)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420726 #074223
analogous
#410742 #420726 #420708
triadic
#420726 #264207 #072642
tetradic
#420726 #424107 #074223 #070842
square
#420726 #424107 #074223 #070842
split-complementary
#420726 #084207 #074241
monochromatic
#1C0310 #1C0310 #420726 #790D46 #B11366

Accessibility & contrast

On white

16.28
#420726 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420726
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420726#FFFFFF#000000##FFFFFF
##4207261.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131927
Deuteranopia (green-blind)
#242425
Tritanopia (blue-blind)
#480215
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420726;
/* rgb */ color: rgb(66, 7, 38);
/* oklch */ color: oklch(25.6% 0.093 354.1);
Tailwind
colors: {
  custom: {
    50: '#7a4e60',
    500: '#420726',
    950: '#000000',
  },
}
SCSS
$custom: #420726;
$custom-light: #7a4e60;
$custom-dark: #000000;
JSON
{
  "hex": "#420726",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 38
  },
  "hsl": {
    "h": 328.475,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25618,
    "c": 0.09306,
    "h": 354.1
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#420726
secondary
#248150
accent
#F78F31
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0204
muted
#7C7879

Preview Lab

Preview with #420726

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

Preview Lab → · Contrast checker → · Palette generator →

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