#42112B#42112B

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

Color values

HEX#42112B
RGBrgb(66, 17, 43)
HSLhsl(328, 59%, 16%)
HSVhsv(328, 74%, 26%)
CMYKcmyk(0%, 74.2%, 34.8%, 74.1%)
CIE-LABlab(14.02, 26.53, -4.84)
CIE-LCHlch(14.02, 26.96, 349.67°)
OKLaboklab(26.96% 0.0808 -0.0125)
OKLCHoklch(26.96% 0.082 351.2)
XYZxyz(2.8834, 1.7339, 2.4679)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42112B #114228
analogous
#411142 #42112B #421113
triadic
#42112B #2B4211 #112B42
tetradic
#42112B #424111 #114228 #111342
square
#42112B #424111 #114228 #111342
split-complementary
#42112B #134211 #114241
monochromatic
#180610 #180610 #42112B #731E4B #A32A6A

Accessibility & contrast

On white

15.59
#42112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42112B
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42112B#FFFFFF#000000##FFFFFF
##42112B1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181E2C
Deuteranopia (green-blind)
#26272A
Tritanopia (blue-blind)
#470E1C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #42112b;
/* rgb */ color: rgb(66, 17, 43);
/* oklch */ color: oklch(27.0% 0.082 351.2);
Tailwind
colors: {
  custom: {
    50: '#795364',
    500: '#42112b',
    950: '#000000',
  },
}
SCSS
$custom: #42112b;
$custom-light: #795364;
$custom-dark: #000000;
JSON
{
  "hex": "#42112b",
  "rgb": {
    "r": 66,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 328.163,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26958,
    "c": 0.08179,
    "h": 351.2
  },
  "luminance": 0.01734
}

Semantic roles & 50–950 ramp

primary
#42112B
secondary
#337C55
accent
#E28F46
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #42112B

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

Preview Lab → · Contrast checker → · Palette generator →

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