#420727#420727

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

Color values

HEX#420727
RGBrgb(66, 7, 39)
HSLhsl(327, 81%, 14%)
HSVhsv(327, 89%, 26%)
CMYKcmyk(0%, 89.4%, 40.9%, 74.1%)
CIE-LABlab(12.33, 30.24, -4.43)
CIE-LCHlch(12.33, 30.56, 351.66°)
OKLaboklab(25.66% 0.0929 -0.0114)
OKLCHoklch(25.66% 0.094 353)
XYZxyz(2.6891, 1.4570, 2.0587)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420727 #074222
analogous
#400742 #420727 #420709
triadic
#420727 #274207 #072742
tetradic
#420727 #424007 #074222 #070942
square
#420727 #424007 #074222 #070942
split-complementary
#420727 #094207 #074240
monochromatic
#1C0310 #1C0310 #420727 #790D48 #B11368

Accessibility & contrast

On white

16.26
#420727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420727
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420727#FFFFFF#000000##FFFFFF
##4207271.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131928
Deuteranopia (green-blind)
#232426
Tritanopia (blue-blind)
#480216
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #420727;
/* rgb */ color: rgb(66, 7, 39);
/* oklch */ color: oklch(25.7% 0.094 353.0);
Tailwind
colors: {
  custom: {
    50: '#7a4e61',
    500: '#420727',
    950: '#000000',
  },
}
SCSS
$custom: #420727;
$custom-light: #7a4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#420727",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 39
  },
  "hsl": {
    "h": 327.458,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25663,
    "c": 0.09359,
    "h": 353
  },
  "luminance": 0.01457
}

Semantic roles & 50–950 ramp

primary
#420727
secondary
#24814E
accent
#F78B31
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0205
muted
#7C7879

Preview Lab

Preview with #420727

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

Preview Lab → · Contrast checker → · Palette generator →

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