#42122A#42122A

#42122A is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.0% C 0.080 H 352.8°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#42122A
RGBrgb(66, 18, 42)
HSLhsl(330, 57%, 16%)
HSVhsv(330, 73%, 26%)
CMYKcmyk(0%, 72.7%, 36.4%, 74.1%)
CIE-LABlab(14.16, 25.88, -3.90)
CIE-LCHlch(14.16, 26.17, 351.44°)
OKLaboklab(27.05% 0.0789 -0.01)
OKLCHoklch(27.05% 0.08 352.8)
XYZxyz(2.8811, 1.7583, 2.3777)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42122A #12422A
analogous
#421242 #42122A #421212
triadic
#42122A #2A4212 #122A42
tetradic
#42122A #424212 #12422A #121242
square
#42122A #424212 #12422A #121242
split-complementary
#42122A #124212 #124242
monochromatic
#18070F #18070F #42122A #721F49 #A22C67

Accessibility & contrast

On white

15.54
#42122A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#42122A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42122A
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42122A#FFFFFF#000000##FFFFFF
##42122A1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191E2B
Deuteranopia (green-blind)
#272729
Tritanopia (blue-blind)
#470F1C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42122a;
/* rgb */ color: rgb(66, 18, 42);
/* oklch */ color: oklch(27.0% 0.080 352.8);
Tailwind
colors: {
  custom: {
    50: '#795363',
    500: '#42122a',
    950: '#000000',
  },
}
SCSS
$custom: #42122a;
$custom-light: #795363;
$custom-dark: #000000;
JSON
{
  "hex": "#42122a",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 42
  },
  "hsl": {
    "h": 330,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27049,
    "c": 0.07954,
    "h": 352.8
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#42122A
secondary
#357B58
accent
#E09447
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #42122A

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

Preview Lab → · Contrast checker → · Palette generator →

#42122A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva