#42112C#42112C

#42112C is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.0% C 0.082 H 350.0°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#42112C
RGBrgb(66, 17, 44)
HSLhsl(327, 59%, 16%)
HSVhsv(327, 74%, 26%)
CMYKcmyk(0%, 74.2%, 33.3%, 74.1%)
CIE-LABlab(14.07, 26.68, -5.50)
CIE-LCHlch(14.07, 27.24, 348.35°)
OKLaboklab(27% 0.0812 -0.0143)
OKLCHoklch(27% 0.082 350)
XYZxyz(2.9020, 1.7413, 2.5657)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42112C #114227
analogous
#401142 #42112C #421114
triadic
#42112C #2C4211 #112C42
tetradic
#42112C #424011 #114227 #111442
square
#42112C #424011 #114227 #111442
split-complementary
#42112C #144211 #114240
monochromatic
#180610 #180610 #42112C #731E4C #A32A6D

Accessibility & contrast

On white

15.58
#42112C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42112C
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42112C#FFFFFF#000000##FFFFFF
##42112C1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2D
Deuteranopia (green-blind)
#26272B
Tritanopia (blue-blind)
#470F1C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42112c;
/* rgb */ color: rgb(66, 17, 44);
/* oklch */ color: oklch(27.0% 0.082 350.0);
Tailwind
colors: {
  custom: {
    50: '#795365',
    500: '#42112c',
    950: '#000000',
  },
}
SCSS
$custom: #42112c;
$custom-light: #795365;
$custom-dark: #000000;
JSON
{
  "hex": "#42112c",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 44
  },
  "hsl": {
    "h": 326.939,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27004,
    "c": 0.08241,
    "h": 350
  },
  "luminance": 0.01741
}

Semantic roles & 50–950 ramp

primary
#42112C
secondary
#337C54
accent
#E28C46
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #42112C

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

Preview Lab → · Contrast checker → · Palette generator →

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