#42112A#42112A

#42112A is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.081 H 352.4°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#42112A
RGBrgb(66, 17, 42)
HSLhsl(329, 59%, 16%)
HSVhsv(329, 74%, 26%)
CMYKcmyk(0%, 74.2%, 36.4%, 74.1%)
CIE-LABlab(13.98, 26.38, -4.17)
CIE-LCHlch(13.98, 26.71, 351.02°)
OKLaboklab(26.91% 0.0805 -0.0107)
OKLCHoklch(26.91% 0.081 352.4)
XYZxyz(2.8653, 1.7266, 2.3724)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42112A #114229
analogous
#421142 #42112A #421112
triadic
#42112A #2A4211 #112A42
tetradic
#42112A #424211 #114229 #111242
square
#42112A #424211 #114229 #111242
split-complementary
#42112A #124211 #114242
monochromatic
#18060F #18060F #42112A #731E49 #A32A68

Accessibility & contrast

On white

15.61
#42112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42112A
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42112A#FFFFFF#000000##FFFFFF
##42112A1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42112a;
/* rgb */ color: rgb(66, 17, 42);
/* oklch */ color: oklch(26.9% 0.081 352.4);
Tailwind
colors: {
  custom: {
    50: '#795363',
    500: '#42112a',
    950: '#000000',
  },
}
SCSS
$custom: #42112a;
$custom-light: #795363;
$custom-dark: #000000;
JSON
{
  "hex": "#42112a",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 329.388,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26914,
    "c": 0.08118,
    "h": 352.4
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#42112A
secondary
#337C57
accent
#E29246
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #42112A

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

Preview Lab → · Contrast checker → · Palette generator →

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